public class BundledItemRegistry extends java.lang.Object implements ItemRegistry
BundledItemRegistry
to serve information
about items.Constructor and Description |
---|
BundledItemRegistry() |
Modifier and Type | Method and Description |
---|---|
ItemMaterial |
getMaterial(ItemType itemType)
Get the material for the given item.
|
java.lang.String |
getName(ItemType itemType)
Deprecated.
|
com.sk89q.worldedit.util.formatting.text.Component |
getRichName(ItemType itemType)
Gets the name for the given item.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRichName
public com.sk89q.worldedit.util.formatting.text.Component getRichName(ItemType itemType)
ItemRegistry
getRichName
in interface ItemRegistry
itemType
- the item@Nullable @Deprecated public java.lang.String getName(ItemType itemType)
ItemRegistry
getName
in interface ItemRegistry
itemType
- the item@Nullable public ItemMaterial getMaterial(ItemType itemType)
ItemRegistry
getMaterial
in interface ItemRegistry
itemType
- the item