-
Notifications
You must be signed in to change notification settings - Fork 0
Item Models
Lyof429 edited this page Jun 9, 2026
·
1 revision
Main class to register custom model types for items.
Registers the item to have a different model when held in hand (akin to tridents and spyglasses).
The held model for namespace:id must be located at assets/<namespace>/models/item/<id>_in_hand.json.
The base missing model will be used in case it can't be found, and a warning will be logged.
// Sets minecraft:diamond to have a custom held model
SolClientRegistries.ITEM_MODEL.registerHeld(Items.DIAMOND);