public abstract class ItemRegistrar extends Object
| Constructor and Description | 
|---|
ItemRegistrar()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract Material | 
get(String id,
   String... alias)
Get material's type
 (Save in cache if found any of them) 
 | 
static ItemRegistrar | 
getInstance()
Get item registry instance
 To get all material 
 | 
public abstract Material get(String id, String... alias)
id - the main ID of the materialalias - All others names that the material can have, according to versionpublic static ItemRegistrar getInstance()