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
public class GeyserCustomItemData
extends Object
implements org.geysermc.geyser.api.item.custom.CustomItemData
-
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) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected boolean@NonNull OptionalInt@Nullable Stringorg.geysermc.geyser.api.item.custom.CustomItemOptionsboolean@NonNull StringbooleaninthashCode()@NonNull Stringicon()@NonNull Stringname()org.geysermc.geyser.api.item.custom.CustomRenderOffsetstags()inttoString()
-
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)
-
-
Method Details
-
name
- Specified by:
namein interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
customItemOptions
public org.geysermc.geyser.api.item.custom.CustomItemOptions customItemOptions()- Specified by:
customItemOptionsin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
displayName
- Specified by:
displayNamein interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
icon
- Specified by:
iconin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
allowOffhand
public boolean allowOffhand()- Specified by:
allowOffhandin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
displayHandheld
public boolean displayHandheld()- Specified by:
displayHandheldin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
creativeCategory
- Specified by:
creativeCategoryin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
creativeGroup
- Specified by:
creativeGroupin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
textureSize
public int textureSize()- Specified by:
textureSizein interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
renderOffsets
public org.geysermc.geyser.api.item.custom.CustomRenderOffsets renderOffsets()- Specified by:
renderOffsetsin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
tags
- Specified by:
tagsin interfaceorg.geysermc.geyser.api.item.custom.CustomItemData
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-