modelData

@NotNull
abstract fun modelData(customModelData: Int, @Nullable namespace: @Nullable PlatformNamespace): @NotNull PlatformItemStack

Sets the custom model data and item model namespace for the item.

Return

this item stack

Since

2.0.0

Parameters

customModelData

the custom model data integer

namespace

the item model namespace (optional)