Package org.geysermc.geyser.item
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
Fields inherited from class org.geysermc.geyser.item.GeyserCustomItemData.CustomItemDataBuilder
allowOffhand, customItemOptions, displayHandheld, displayName, icon, name, renderOffsets, tags, textureSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.BuilderallowOffhand(boolean allowOffhand) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builderorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemDatabuild()org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.BuildercanAlwaysEat(boolean canAlwaysEat) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builderchargeable(boolean isChargeable) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.BuildercreativeCategory(int creativeCategory) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.BuildercreativeGroup(@Nullable String creativeGroup) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.BuildercustomItemOptions(@NonNull org.geysermc.geyser.api.item.custom.CustomItemOptions customItemOptions) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.BuilderdisplayHandheld(boolean displayHandheld) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.BuilderdisplayName(@NonNull String displayName) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builderedible(boolean isEdible) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builderfoil(boolean isFoil) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builderhat(boolean isHat) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builderorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builderidentifier(@NonNull String identifier) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.BuilderjavaId(int javaId) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.BuildermaxDamage(int maxDamage) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builderorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.BuilderprotectionValue(int protectionValue) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.BuilderrenderOffsets(org.geysermc.geyser.api.item.custom.CustomRenderOffsets renderOffsets) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.BuilderrepairMaterials(@Nullable Set<String> repairMaterials) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.BuilderstackSize(int stackSize) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builderorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.BuildertextureSize(int textureSize) org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builderorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builderorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.BuildertranslationString(@Nullable String translationString) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
namein interfaceorg.geysermc.geyser.api.item.custom.CustomItemData.Builder- Specified by:
namein interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder- Overrides:
namein classGeyserCustomItemData.CustomItemDataBuilder
-
customItemOptions
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder customItemOptions(@NonNull org.geysermc.geyser.api.item.custom.CustomItemOptions customItemOptions) - Specified by:
customItemOptionsin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData.Builder- Specified by:
customItemOptionsin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder- Overrides:
customItemOptionsin classGeyserCustomItemData.CustomItemDataBuilder
-
allowOffhand
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder allowOffhand(boolean allowOffhand) - Specified by:
allowOffhandin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData.Builder- Specified by:
allowOffhandin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder- Overrides:
allowOffhandin classGeyserCustomItemData.CustomItemDataBuilder
-
displayHandheld
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder displayHandheld(boolean displayHandheld) - Specified by:
displayHandheldin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData.Builder- Specified by:
displayHandheldin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder- Overrides:
displayHandheldin classGeyserCustomItemData.CustomItemDataBuilder
-
displayName
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder displayName(@NonNull String displayName) - Specified by:
displayNamein interfaceorg.geysermc.geyser.api.item.custom.CustomItemData.Builder- Specified by:
displayNamein interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder- Overrides:
displayNamein classGeyserCustomItemData.CustomItemDataBuilder
-
icon
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder icon(@NonNull String icon) - Specified by:
iconin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData.Builder- Specified by:
iconin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder- Overrides:
iconin classGeyserCustomItemData.CustomItemDataBuilder
-
textureSize
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder textureSize(int textureSize) - Specified by:
textureSizein interfaceorg.geysermc.geyser.api.item.custom.CustomItemData.Builder- Specified by:
textureSizein interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder- Overrides:
textureSizein classGeyserCustomItemData.CustomItemDataBuilder
-
renderOffsets
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder renderOffsets(org.geysermc.geyser.api.item.custom.CustomRenderOffsets renderOffsets) - Specified by:
renderOffsetsin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData.Builder- Specified by:
renderOffsetsin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder- Overrides:
renderOffsetsin classGeyserCustomItemData.CustomItemDataBuilder
-
tags
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder tags(@Nullable Set<String> tags) - Specified by:
tagsin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData.Builder- Specified by:
tagsin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder- Overrides:
tagsin classGeyserCustomItemData.CustomItemDataBuilder
-
identifier
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder identifier(@NonNull String identifier) - Specified by:
identifierin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
javaId
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder javaId(int javaId) - Specified by:
javaIdin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
stackSize
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder stackSize(int stackSize) - Specified by:
stackSizein interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
maxDamage
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder maxDamage(int maxDamage) - Specified by:
maxDamagein interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
toolType
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder toolType(@Nullable String toolType) - Specified by:
toolTypein interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
toolTier
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder toolTier(@Nullable String toolTier) - Specified by:
toolTierin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
armorType
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder armorType(@Nullable String armorType) - Specified by:
armorTypein interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
protectionValue
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder protectionValue(int protectionValue) - Specified by:
protectionValuein interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
translationString
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder translationString(@Nullable String translationString) - Specified by:
translationStringin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
repairMaterials
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder repairMaterials(@Nullable Set<String> repairMaterials) - Specified by:
repairMaterialsin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
creativeCategory
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder creativeCategory(int creativeCategory) - Specified by:
creativeCategoryin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
creativeGroup
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder creativeGroup(@Nullable String creativeGroup) - Specified by:
creativeGroupin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
hat
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder hat(boolean isHat) - Specified by:
hatin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
foil
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder foil(boolean isFoil) - Specified by:
foilin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
edible
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder edible(boolean isEdible) - Specified by:
ediblein interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
canAlwaysEat
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder canAlwaysEat(boolean canAlwaysEat) - Specified by:
canAlwaysEatin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
chargeable
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder chargeable(boolean isChargeable) - Specified by:
chargeablein interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder
-
build
public org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData build()- Specified by:
buildin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData.Builder- Specified by:
buildin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder- Overrides:
buildin classGeyserCustomItemData.CustomItemDataBuilder
-