Class ItemMapping
java.lang.Object
org.geysermc.geyser.registry.type.ItemMapping
-
Field Details
-
AIR
-
-
Constructor Details
-
ItemMapping
public ItemMapping()
-
-
Method Details
-
isBlock
public boolean isBlock()Gets if this item is a block.- Returns:
- if this item is a block
-
hasTranslation
public boolean hasTranslation()Gets if this item has a translation string present.- Returns:
- if this item has a translation string present
-
isTool
public boolean isTool()Gets if this item is a tool.- Returns:
- if this item is a tool
-