Custom_Model_Data_Guide icon indicating copy to clipboard operation
Custom_Model_Data_Guide copied to clipboard

display_context and other

Open zbirow opened this issue 11 months ago • 0 comments

Will you also write about other types besides minecraft:custom_model_data ? Because you can also get other textures/models in other ways, e.g. from where it is exposed, broken/used etc.

dispaly_context code: { "model": { "type": "minecraft:select", "property": "minecraft:display_context", "fallback": { "type": "minecraft:model", "model": "minecraft:item/gold_nugget" }, "cases": [ { "when" : "fixed", "model" : { "type": "minecraft:model", "model": "custom_model_data_guide_assets:item/uno_reverse_model" } } ] } }

if we put an item in a frame, then it changes the model.

source: https://minecraft.wiki/w/Items_model_definition

zbirow avatar Feb 19 '25 18:02 zbirow