Package org.geysermc.geyser.item
Class GeyserCustomItemData
java.lang.Object
org.geysermc.geyser.item.GeyserCustomItemData
- All Implemented Interfaces:
org.geysermc.geyser.api.item.custom.CustomItemData
- Direct Known Subclasses:
GeyserNonVanillaCustomItemData
@Deprecated
public class GeyserCustomItemData
extends Object
implements org.geysermc.geyser.api.item.custom.CustomItemData
Deprecated.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionGeyserCustomItemData(String name, org.geysermc.geyser.api.item.custom.CustomItemOptions customItemOptions, String displayName, String icon, boolean allowOffhand, boolean displayHandheld, OptionalInt creativeCategory, String creativeGroup, int textureSize, org.geysermc.geyser.api.item.custom.CustomRenderOffsets renderOffsets, Set<String> tags) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.protected booleanDeprecated.@NonNull OptionalIntDeprecated.@Nullable StringDeprecated.org.geysermc.geyser.api.item.custom.CustomItemOptionsDeprecated.booleanDeprecated.@NonNull StringDeprecated.booleanDeprecated.inthashCode()Deprecated.@NonNull Stringicon()Deprecated.@NonNull Stringname()Deprecated.org.geysermc.geyser.api.item.custom.CustomRenderOffsetsDeprecated.tags()Deprecated.intDeprecated.org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition.BuildertoDefinition(org.geysermc.geyser.api.util.Identifier javaItem) Deprecated.toString()Deprecated.
-
Constructor Details
-
GeyserCustomItemData
public GeyserCustomItemData(String name, org.geysermc.geyser.api.item.custom.CustomItemOptions customItemOptions, String displayName, String icon, boolean allowOffhand, boolean displayHandheld, OptionalInt creativeCategory, String creativeGroup, int textureSize, org.geysermc.geyser.api.item.custom.CustomRenderOffsets renderOffsets, Set<String> tags) Deprecated.
-
-
Method Details
-
name
Deprecated.- Specified by:
namein interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
customItemOptions
public org.geysermc.geyser.api.item.custom.CustomItemOptions customItemOptions()Deprecated.- Specified by:
customItemOptionsin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
displayName
Deprecated.- Specified by:
displayNamein interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
icon
Deprecated.- Specified by:
iconin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
allowOffhand
public boolean allowOffhand()Deprecated.- Specified by:
allowOffhandin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
displayHandheld
public boolean displayHandheld()Deprecated.- Specified by:
displayHandheldin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
creativeCategory
Deprecated.- Specified by:
creativeCategoryin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
creativeGroup
Deprecated.- Specified by:
creativeGroupin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
textureSize
public int textureSize()Deprecated.- Specified by:
textureSizein interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
renderOffsets
public org.geysermc.geyser.api.item.custom.CustomRenderOffsets renderOffsets()Deprecated.- Specified by:
renderOffsetsin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
tags
Deprecated.- Specified by:
tagsin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
toDefinition
public org.geysermc.geyser.api.item.custom.v2.CustomItemDefinition.Builder toDefinition(org.geysermc.geyser.api.util.Identifier javaItem) Deprecated. -
equals
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-