public class ProxyItemRegistrar extends ItemRegistrar
| Constructor and Description |
|---|
ProxyItemRegistrar() |
| Modifier and Type | Method and Description |
|---|---|
Material |
get(String id,
String... alias)
Get material's type
(Save in cache if found any of them)
|
static ProxyItemRegistrar |
getInstance() |
createDefaultpublic static ProxyItemRegistrar getInstance()
public Material get(String id, String... alias)
ItemRegistrarget in class ItemRegistrarid - the main ID of the materialalias - All others names that the material can have, according to versionItemRegistrar.createDefault(String) result (with given id)