Interface CustomItemData.Builder
- All Known Subinterfaces:
NonVanillaCustomItemData.Builder
- Enclosing interface:
CustomItemData
public static interface CustomItemData.Builder
-
Method Summary
Modifier and TypeMethodDescriptionallowOffhand(boolean allowOffhand) build()creativeCategory(int creativeCategory) creativeGroup(@Nullable String creativeGroup) customItemOptions(@NonNull CustomItemOptions customItemOptions) displayHandheld(boolean displayHandheld) displayName(@NonNull String displayName) Will also set the display name and icon to the provided parameter, if it is currently not set.renderOffsets(@Nullable CustomRenderOffsets renderOffsets) Deprecated.textureSize(int textureSize) Deprecated.
-
Method Details
-
name
Will also set the display name and icon to the provided parameter, if it is currently not set. -
customItemOptions
-
displayName
-
icon
-
allowOffhand
-
displayHandheld
-
creativeCategory
-
creativeGroup
-
textureSize
Deprecated. -
renderOffsets
Deprecated. -
tags
-
build
CustomItemData build()
-