Katton Item Properties
Extended Item.Properties that supports custom name and model with hot-reload capabilities.
This class extends Minecraft's Item.Properties to provide additional functionality for defining custom item names and models. It is designed to work with Katton's hot-reload system by deferring the intrusive holder creation until registration time.
Does not call setId() in constructor to avoid triggering intrusive holder creation. The resource key is set during registration time instead.
Parameters
id
The identifier for this item, used for registration and default naming
See also
for registration
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <T : Any> delayedComponent(type: DataComponentType<T>, initializer: DataComponentInitializers.SingleComponentInitializer<T>): Item.Properties
Link copied to clipboard
open fun <T : Any> delayedHolderComponent(type: DataComponentType<Holder<T>>, valueKey: ResourceKey<T>): Item.Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the model identifier for the item.
Link copied to clipboard
Sets the display name of the item.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard