Class GeyserNonVanillaCustomItemData

java.lang.Object
org.geysermc.geyser.item.GeyserCustomItemData
org.geysermc.geyser.item.GeyserNonVanillaCustomItemData
All Implemented Interfaces:
org.geysermc.geyser.api.item.custom.CustomItemData, org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData

public final class GeyserNonVanillaCustomItemData extends GeyserCustomItemData implements org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
  • Constructor Details

  • Method Details

    • identifier

      @NotNull public @NotNull String identifier()
      Specified by:
      identifier in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • javaId

      public int javaId()
      Specified by:
      javaId in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • stackSize

      public int stackSize()
      Specified by:
      stackSize in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • maxDamage

      public int maxDamage()
      Specified by:
      maxDamage in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • toolType

      public String toolType()
      Specified by:
      toolType in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • toolTier

      public String toolTier()
      Specified by:
      toolTier in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • armorType

      public @Nullable String armorType()
      Specified by:
      armorType in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • protectionValue

      public int protectionValue()
      Specified by:
      protectionValue in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • translationString

      public String translationString()
      Specified by:
      translationString in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • repairMaterials

      public Set<String> repairMaterials()
      Specified by:
      repairMaterials in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • creativeCategory

      @NotNull public @NotNull OptionalInt creativeCategory()
      Specified by:
      creativeCategory in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • creativeGroup

      public String creativeGroup()
      Specified by:
      creativeGroup in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • isHat

      public boolean isHat()
      Specified by:
      isHat in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • isTool

      public boolean isTool()
      Specified by:
      isTool in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class GeyserCustomItemData
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class GeyserCustomItemData
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class GeyserCustomItemData
    • toString

      public String toString()
      Overrides:
      toString in class GeyserCustomItemData