Skip to content

display_context and other #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
zbirow opened this issue Feb 19, 2025 · 0 comments
Open

display_context and other #5

zbirow opened this issue Feb 19, 2025 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@zbirow
Copy link

zbirow commented Feb 19, 2025

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

@RhythmicSys RhythmicSys added documentation Improvements or additions to documentation enhancement New feature or request labels Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants