- All Superinterfaces:
Registry
-
Method Summary
Modifier and TypeMethodDescriptiongetIdentifier(int runtimeId)default ItemStackgetItem(BlockState state)getItem(BlockState state, int amount)default ItemStackcom.google.common.collect.ImmutableList<Identifier>getItems()voidregister(ItemType type, ItemBehavior behavior, Identifier... identifiers)
-
Method Details
-
register
void register(ItemType type, ItemBehavior behavior, Identifier... identifiers) throws RegistryException- Throws:
RegistryException
-
getItem
- Throws:
RegistryException
-
getItem
- Throws:
RegistryException
-
getItem
- Throws:
RegistryException
-
getItem
- Throws:
RegistryException
-
getIdentifier
- Throws:
RegistryException
-
getItems
com.google.common.collect.ImmutableList<Identifier> getItems()
-