Updated for 1.21.4
This commit is contained in:
@@ -1,16 +1,20 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/bread"
|
||||
},
|
||||
"overrides": [
|
||||
{"predicate": {"custom_model_data":59701}, "model": "lz:food/plated_sandwich_chicken1"},
|
||||
{"predicate": {"custom_model_data":59702}, "model": "lz:food/plated_sandwich_chicken2"},
|
||||
{"predicate": {"custom_model_data":59703}, "model": "lz:food/plated_sandwich_egg1"},
|
||||
{"predicate": {"custom_model_data":59704}, "model": "lz:food/plated_sandwich_egg2"},
|
||||
{"predicate": {"custom_model_data":59705}, "model": "lz:food/plated_sandwich_glow_berry"},
|
||||
{"predicate": {"custom_model_data":59706}, "model": "lz:food/plated_sandwich_glow_berry_dark"},
|
||||
{"predicate": {"custom_model_data":59707}, "model": "lz:food/plated_sandwich_sweet_berry"},
|
||||
{"predicate": {"custom_model_data":59708}, "model": "lz:food/plated_sandwich_sweet_berry_dark"}
|
||||
]
|
||||
"model": {
|
||||
"type": "select",
|
||||
"property": "custom_model_data",
|
||||
"fallback": {
|
||||
"type": "minecraft:model",
|
||||
"model": "minecraft:item/bread"
|
||||
},
|
||||
"cases": [
|
||||
{ "when": "chicken1", "model": { "type": "model", "model": "lz:food/plated_sandwich_chicken1" } },
|
||||
{ "when": "chicken2", "model": { "type": "model", "model": "lz:food/plated_sandwich_chicken2" } },
|
||||
{ "when": "egg1", "model": { "type": "model", "model": "lz:food/plated_sandwich_egg1" } },
|
||||
{ "when": "egg2", "model": { "type": "model", "model": "lz:food/plated_sandwich_egg2" } },
|
||||
{ "when": "glow_berry", "model": { "type": "model", "model": "lz:food/plated_sandwich_glow_berry" } },
|
||||
{ "when": "glow_berry_dark", "model": { "type": "model", "model": "lz:food/plated_sandwich_glow_berry_dark" } },
|
||||
{ "when": "sweet_berry", "model": { "type": "model", "model": "lz:food/plated_sandwich_sweet_berry" } },
|
||||
{ "when": "sweet_berry_dark", "model": { "type": "model", "model": "lz:food/plated_sandwich_sweet_berry_dark" } }
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user