Skip to content

Item Models

Lyof429 edited this page Jun 9, 2026 · 1 revision

SolClientRegistries.ITEM_MODEL

SItemModelRegistry


Main class to register custom model types for items.


void registerHeld(ItemLike item)

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);

Clone this wiki locally