Class GeyserCustomItemData

java.lang.Object
org.geysermc.geyser.item.GeyserCustomItemData
All Implemented Interfaces:
org.geysermc.geyser.api.item.custom.CustomItemData
Direct Known Subclasses:
GeyserNonVanillaCustomItemData

public class GeyserCustomItemData extends Object implements org.geysermc.geyser.api.item.custom.CustomItemData
  • Constructor Details

    • GeyserCustomItemData

      public GeyserCustomItemData(String name, org.geysermc.geyser.api.item.custom.CustomItemOptions customItemOptions, String displayName, String icon, boolean allowOffhand, int textureSize, org.geysermc.geyser.api.item.custom.CustomRenderOffsets renderOffsets)
  • Method Details

    • name

      @NotNull public @NotNull String name()
      Specified by:
      name in interface org.geysermc.geyser.api.item.custom.CustomItemData
    • customItemOptions

      public org.geysermc.geyser.api.item.custom.CustomItemOptions customItemOptions()
      Specified by:
      customItemOptions in interface org.geysermc.geyser.api.item.custom.CustomItemData
    • displayName

      @NotNull public @NotNull String displayName()
      Specified by:
      displayName in interface org.geysermc.geyser.api.item.custom.CustomItemData
    • icon

      @NotNull public @NotNull String icon()
      Specified by:
      icon in interface org.geysermc.geyser.api.item.custom.CustomItemData
    • allowOffhand

      public boolean allowOffhand()
      Specified by:
      allowOffhand in interface org.geysermc.geyser.api.item.custom.CustomItemData
    • textureSize

      public int textureSize()
      Specified by:
      textureSize in interface org.geysermc.geyser.api.item.custom.CustomItemData
    • renderOffsets

      public org.geysermc.geyser.api.item.custom.CustomRenderOffsets renderOffsets()
      Specified by:
      renderOffsets in interface org.geysermc.geyser.api.item.custom.CustomItemData
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object