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

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

  • Method Details

    • identifier

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

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

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

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

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

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

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

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

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

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

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

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

      public boolean isFoil()
      Deprecated.
      Specified by:
      isFoil in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • isEdible

      public boolean isEdible()
      Deprecated.
      Specified by:
      isEdible in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • canAlwaysEat

      public boolean canAlwaysEat()
      Deprecated.
      Specified by:
      canAlwaysEat in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • isChargeable

      public boolean isChargeable()
      Deprecated.
      Specified by:
      isChargeable in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • block

      public String block()
      Deprecated.
      Specified by:
      block in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
    • toDefinition

      public org.geysermc.geyser.api.item.custom.v2.NonVanillaCustomItemDefinition.Builder toDefinition()
      Deprecated.
    • equals

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

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

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

      public String toString()
      Deprecated.
      Overrides:
      toString in class GeyserCustomItemData