Class GeyserCustomItemDefinition

java.lang.Object
org.geysermc.geyser.item.custom.GeyserCustomItemDefinition
All Implemented Interfaces:
org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition
Direct Known Subclasses:
GeyserNonVanillaCustomItemDefinition

public class GeyserCustomItemDefinition extends Object implements org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition
  • Constructor Details

  • Method Details

    • bedrockIdentifier

      public @NonNull org.geysermc.geyser.api.util.Identifier bedrockIdentifier()
      Specified by:
      bedrockIdentifier in interface org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition
    • displayName

      public @NonNull String displayName()
      Specified by:
      displayName in interface org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition
    • model

      public @NonNull org.geysermc.geyser.api.util.Identifier model()
      Specified by:
      model in interface org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition
    • icon

      public @NonNull String icon()
      Specified by:
      icon in interface org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition
    • predicates

      public @NonNull List<org.geysermc.geyser.api.predicate.MinecraftPredicate<? super org.geysermc.geyser.api.predicate.context.item.ItemPredicateContext>> predicates()
      Specified by:
      predicates in interface org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition
    • predicateStrategy

      public @NonNull org.geysermc.geyser.api.predicate.PredicateStrategy predicateStrategy()
      Specified by:
      predicateStrategy in interface org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition
    • priority

      public int priority()
      Specified by:
      priority in interface org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition
    • bedrockOptions

      public @NonNull org.geysermc.geyser.api.item.custom.v2.CustomItemBedrockOptions bedrockOptions()
      Specified by:
      bedrockOptions in interface org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition
    • components

      public @NonNull org.geysermc.geyser.api.item.custom.v2.component.ItemDataComponentMap components()
      Specified by:
      components in interface org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition
    • removedComponents

      public @NonNull List<org.geysermc.geyser.api.util.Identifier> removedComponents()
      Specified by:
      removedComponents in interface org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition
    • 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
    • getRenderOffsets

      public org.geysermc.geyser.api.item.custom.CustomRenderOffsets getRenderOffsets()
    • isOldConvertedItem

      public boolean isOldConvertedItem()
    • getTextureSize

      public int getTextureSize()