Interface CustomItemData.Builder
- All Known Subinterfaces:
NonVanillaCustomItemData.Builder
- Enclosing interface:
- CustomItemData
public static interface CustomItemData.Builder
-
Method Summary
Modifier and TypeMethodDescriptionallowOffhand(boolean allowOffhand)build()customItemOptions(@NonNull CustomItemOptions customItemOptions)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)textureSize(int textureSize)
-
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
-
textureSize
-
renderOffsets
-
build
CustomItemData build()
-