Package org.geysermc.geyser.item
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
public final class GeyserNonVanillaCustomItemData
extends GeyserCustomItemData
implements org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class org.geysermc.geyser.item.GeyserCustomItemData
GeyserCustomItemData.CustomItemDataBuilderNested classes/interfaces inherited from interface org.geysermc.geyser.api.item.custom.CustomItemData
org.geysermc.geyser.api.item.custom.CustomItemData.BuilderNested classes/interfaces inherited from interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData.Builder -
Constructor Summary
ConstructorsConstructorDescriptionGeyserNonVanillaCustomItemData(GeyserNonVanillaCustomItemData.NonVanillaCustomItemDataBuilder builder) -
Method Summary
Methods inherited from class org.geysermc.geyser.item.GeyserCustomItemData
allowOffhand, customItemOptions, displayHandheld, displayName, icon, name, renderOffsets, textureSizeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.geysermc.geyser.api.item.custom.CustomItemData
allowOffhand, customItemOptions, displayHandheld, displayName, icon, name, renderOffsets, textureSizeMethods inherited from interface org.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
isTool
-
Constructor Details
-
GeyserNonVanillaCustomItemData
public GeyserNonVanillaCustomItemData(GeyserNonVanillaCustomItemData.NonVanillaCustomItemDataBuilder builder)
-
-
Method Details
-
identifier
- Specified by:
identifierin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
javaId
public int javaId()- Specified by:
javaIdin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
stackSize
public int stackSize()- Specified by:
stackSizein interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
maxDamage
public int maxDamage()- Specified by:
maxDamagein interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
toolType
- Specified by:
toolTypein interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
toolTier
- Specified by:
toolTierin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
armorType
- Specified by:
armorTypein interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
protectionValue
public int protectionValue()- Specified by:
protectionValuein interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
translationString
- Specified by:
translationStringin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
repairMaterials
- Specified by:
repairMaterialsin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
creativeCategory
- Specified by:
creativeCategoryin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
creativeGroup
- Specified by:
creativeGroupin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
isHat
public boolean isHat()- Specified by:
isHatin interfaceorg.geysermc.geyser.api.item.custom.NonVanillaCustomItemData
-
equals
- Overrides:
equalsin classGeyserCustomItemData
-
canEqual
- Overrides:
canEqualin classGeyserCustomItemData
-
hashCode
public int hashCode()- Overrides:
hashCodein classGeyserCustomItemData
-
toString
- Overrides:
toStringin classGeyserCustomItemData
-