ItemModelData
class ItemModelData
Functions
Link copied to clipboard
fun createClientsideItemBuilder(name: Component? = null, lore: List<Component>? = null, modelId: Int): ItemBuilder
fun createClientsideItemBuilder(name: Component? = null, lore: List<Component>? = null, modelId: String = "default"): ItemBuilder
Link copied to clipboard
Creates an ItemProvider for the given modelId in client-side format by running it through PacketItems. This provider is intended for usage in GUIs or similar.
Link copied to clipboard
Gets the custom model data for modelId or null if it does not exist.