Class ItemMapping

java.lang.Object
org.geysermc.connector.registry.type.ItemMapping

public class ItemMapping extends Object
  • Field Details

  • 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