Class GeyserNonVanillaCustomItemData.NonVanillaCustomItemDataBuilder

java.lang.Object
org.geysermc.geyser.item.GeyserCustomItemData.CustomItemDataBuilder
org.geysermc.geyser.item.GeyserNonVanillaCustomItemData.NonVanillaCustomItemDataBuilder
All Implemented Interfaces:
org.geysermc.geyser.api.item.custom.CustomItemData.Builder, org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
Enclosing class:
GeyserNonVanillaCustomItemData

public static class GeyserNonVanillaCustomItemData.NonVanillaCustomItemDataBuilder extends GeyserCustomItemData.CustomItemDataBuilder implements org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
  • Field Summary

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    allowOffhand​(boolean allowOffhand)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    armorType​(@Nullable String armorType)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    creativeCategory​(int creativeCategory)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    creativeGroup​(@Nullable String creativeGroup)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    customItemOptions​(@NonNull org.geysermc.geyser.api.item.custom.CustomItemOptions customItemOptions)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    displayHandheld​(boolean displayHandheld)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    displayName​(@NonNull String displayName)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    hat​(boolean isHat)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    icon​(@NonNull String icon)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    identifier​(@NonNull String identifier)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    javaId​(int javaId)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    maxDamage​(int maxDamage)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    name​(@NonNull String name)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    protectionValue​(int protectionValue)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    renderOffsets​(org.geysermc.geyser.api.item.custom.CustomRenderOffsets renderOffsets)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    repairMaterials​(@Nullable Set<String> repairMaterials)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    stackSize​(int stackSize)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    textureSize​(int textureSize)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    toolTier​(@Nullable String toolTier)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    toolType​(@Nullable String toolType)
     
    org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    translationString​(@Nullable String translationString)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder

    tool
  • Constructor Details

    • NonVanillaCustomItemDataBuilder

      public NonVanillaCustomItemDataBuilder()
  • Method Details

    • name

      public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder name(@NonNull String name)
      Specified by:
      name in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
      Specified by:
      name in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
      Overrides:
      name in class GeyserCustomItemData.CustomItemDataBuilder
    • customItemOptions

      public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder customItemOptions(@NonNull org.geysermc.geyser.api.item.custom.CustomItemOptions customItemOptions)
      Specified by:
      customItemOptions in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
      Specified by:
      customItemOptions in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
      Overrides:
      customItemOptions in class GeyserCustomItemData.CustomItemDataBuilder
    • allowOffhand

      public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder allowOffhand(boolean allowOffhand)
      Specified by:
      allowOffhand in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
      Specified by:
      allowOffhand in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
      Overrides:
      allowOffhand in class GeyserCustomItemData.CustomItemDataBuilder
    • displayHandheld

      public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder displayHandheld(boolean displayHandheld)
      Specified by:
      displayHandheld in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
      Specified by:
      displayHandheld in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
      Overrides:
      displayHandheld in class GeyserCustomItemData.CustomItemDataBuilder
    • displayName

      public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder displayName(@NonNull String displayName)
      Specified by:
      displayName in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
      Specified by:
      displayName in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
      Overrides:
      displayName in class GeyserCustomItemData.CustomItemDataBuilder
    • icon

      public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder icon(@NonNull String icon)
      Specified by:
      icon in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
      Specified by:
      icon in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
      Overrides:
      icon in class GeyserCustomItemData.CustomItemDataBuilder
    • textureSize

      public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder textureSize(int textureSize)
      Specified by:
      textureSize in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
      Specified by:
      textureSize in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
      Overrides:
      textureSize in class GeyserCustomItemData.CustomItemDataBuilder
    • renderOffsets

      public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder renderOffsets(org.geysermc.geyser.api.item.custom.CustomRenderOffsets renderOffsets)
      Specified by:
      renderOffsets in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
      Specified by:
      renderOffsets in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
      Overrides:
      renderOffsets in class GeyserCustomItemData.CustomItemDataBuilder
    • identifier

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

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

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

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

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

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

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

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

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

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

      public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder creativeCategory(int creativeCategory)
      Specified by:
      creativeCategory in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
    • creativeGroup

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

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

      public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData build()
      Specified by:
      build in interface org.geysermc.geyser.api.item.custom.CustomItemData.Builder
      Specified by:
      build in interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
      Overrides:
      build in class GeyserCustomItemData.CustomItemDataBuilder