-
-
Notifications
You must be signed in to change notification settings - Fork 9
display_context and other #5
Copy link
Copy link
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
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