diff --git a/packs/0-lzcustom/assets/minecraft/items/baked_potato.json b/packs/0-lzcustom/assets/minecraft/items/baked_potato.json index 932743e..768a7b1 100644 --- a/packs/0-lzcustom/assets/minecraft/items/baked_potato.json +++ b/packs/0-lzcustom/assets/minecraft/items/baked_potato.json @@ -1,12 +1,16 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/baked_potato" - }, - "overrides": [ - {"predicate": {"custom_model_data":59700}, "model": "lz:food/plated_baked_potato"}, - {"predicate": {"custom_model_data":59701}, "model": "lz:food/plated_baked_potato1"}, - {"predicate": {"custom_model_data":59702}, "model": "lz:food/plated_baked_potato2"}, - {"predicate": {"custom_model_data":59703}, "model": "lz:food/plated_baked_potato3"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/baked_potato" + }, + "cases": [ + { "when": "baked_potato", "model": { "type": "model", "model": "lz:food/plated_baked_potato" } }, + { "when": "baked_potato1", "model": { "type": "model", "model": "lz:food/plated_baked_potato1" } }, + { "when": "baked_potato2", "model": { "type": "model", "model": "lz:food/plated_baked_potato2" } }, + { "when": "baked_potato3", "model": { "type": "model", "model": "lz:food/plated_baked_potato3" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/beetroot_soup.json b/packs/0-lzcustom/assets/minecraft/items/beetroot_soup.json index 366ca36..fe0d9d9 100644 --- a/packs/0-lzcustom/assets/minecraft/items/beetroot_soup.json +++ b/packs/0-lzcustom/assets/minecraft/items/beetroot_soup.json @@ -1,9 +1,13 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/beetroot_soup" - }, - "overrides": [ - {"predicate": {"custom_model_data":59750}, "model": "lz:food/soup_beetroot"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/beetroot_soup" + }, + "cases": [ + { "when": "beetroot_soup", "model": { "type": "model", "model": "lz:food/soup_beetroot" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/bone.json b/packs/0-lzcustom/assets/minecraft/items/bone.json index 3c6b205..07a7ec3 100644 --- a/packs/0-lzcustom/assets/minecraft/items/bone.json +++ b/packs/0-lzcustom/assets/minecraft/items/bone.json @@ -1,16 +1,13 @@ { - "parent": "item/handheld", - "textures": { - "layer0": "item/bone" - }, - "display": { - "head": { - "rotation": [ 0, 0, -45 ], - "translation": [ 0, -4.5, -6.5], - "scale":[ 1, 1, 1 ] - } - }, - "overrides": [ - {"predicate": {"custom_model_data":59750}, "model": "lz:food/soup_bone_broth"} - ] -} + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/bone" + }, + "cases": [ + { "when": "bone_broth", "model": { "type": "model", "model": "lz:food/soup_bone_broth" } } + ] + } + } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/bread.json b/packs/0-lzcustom/assets/minecraft/items/bread.json index c89241e..ab455c0 100644 --- a/packs/0-lzcustom/assets/minecraft/items/bread.json +++ b/packs/0-lzcustom/assets/minecraft/items/bread.json @@ -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" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/cake.json b/packs/0-lzcustom/assets/minecraft/items/cake.json index de5ade1..a7f7549 100644 --- a/packs/0-lzcustom/assets/minecraft/items/cake.json +++ b/packs/0-lzcustom/assets/minecraft/items/cake.json @@ -1,9 +1,13 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/cake" - }, - "overrides": [ - {"predicate": {"custom_model_data":59700}, "model": "lz:food/plated_cake_slice"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/cake" + }, + "cases": [ + { "when": "slice", "model": { "type": "model", "model": "lz:food/plated_cake_slice" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/candle.json b/packs/0-lzcustom/assets/minecraft/items/candle.json index 21837c6..d65aa64 100644 --- a/packs/0-lzcustom/assets/minecraft/items/candle.json +++ b/packs/0-lzcustom/assets/minecraft/items/candle.json @@ -1,9 +1,13 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/candle" - }, - "overrides": [ - {"predicate": {"custom_model_data":59701}, "model": "lz:items/candle_stand"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/candle" + }, + "cases": [ + { "when": "candle_stand", "model": { "type": "model", "model": "lz:food/candle_stand" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/carrot.json b/packs/0-lzcustom/assets/minecraft/items/carrot.json index a073c35..6e5707d 100644 --- a/packs/0-lzcustom/assets/minecraft/items/carrot.json +++ b/packs/0-lzcustom/assets/minecraft/items/carrot.json @@ -1,9 +1,13 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/carrot" - }, - "overrides": [ - {"predicate": {"custom_model_data":59750}, "model": "lz:food/soup_vegetable"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/carrot" + }, + "cases": [ + { "when": "soup", "model": { "type": "model", "model": "lz:food/soup_vegetable" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/cocoa_beans.json b/packs/0-lzcustom/assets/minecraft/items/cocoa_beans.json index 177d0b8..4f4c938 100644 --- a/packs/0-lzcustom/assets/minecraft/items/cocoa_beans.json +++ b/packs/0-lzcustom/assets/minecraft/items/cocoa_beans.json @@ -1,14 +1,18 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/cocoa_beans" - }, - "overrides": [ - {"predicate": {"custom_model_data":59700}, "model": "lz:food/pie_chocolate"}, - {"predicate": {"custom_model_data":59701}, "model": "lz:food/pie_chocolate1"}, - {"predicate": {"custom_model_data":59702}, "model": "lz:food/pie_chocolate2"}, - {"predicate": {"custom_model_data":59703}, "model": "lz:food/pie_chocolate3"}, - {"predicate": {"custom_model_data":59704}, "model": "lz:food/pie_chocolate4"}, - {"predicate": {"custom_model_data":59710}, "model": "lz:food/drink_cocoa"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/cocoa_beans" + }, + "cases": [ + { "when": "pie", "model": { "type": "model", "model": "lz:food/pie_chocolate" } }, + { "when": "pie1", "model": { "type": "model", "model": "lz:food/pie_chocolate1" } }, + { "when": "pie2", "model": { "type": "model", "model": "lz:food/pie_chocolate2" } }, + { "when": "pie3", "model": { "type": "model", "model": "lz:food/pie_chocolate3" } }, + { "when": "pie4", "model": { "type": "model", "model": "lz:food/pie_chocolate4" } }, + { "when": "drink", "model": { "type": "model", "model": "lz:food/drink_cocoa" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/cod.json b/packs/0-lzcustom/assets/minecraft/items/cod.json index 2cf51fd..5128406 100644 --- a/packs/0-lzcustom/assets/minecraft/items/cod.json +++ b/packs/0-lzcustom/assets/minecraft/items/cod.json @@ -1,23 +1,20 @@ { - "parent": "item/generated", - "textures": { - "layer0": "item/cod" - }, - "display": { - "head": { - "rotation": [ 0, 90, -60 ], - "translation": [ -7, -4, -7], - "scale":[ 0.8, 0.8, 0.8] - } - }, - "overrides": [ - {"predicate": {"custom_model_data":59700}, "model": "lz:food/plated_cod_roll"}, - {"predicate": {"custom_model_data":59701}, "model": "lz:food/plated_cod_roll_1"}, - {"predicate": {"custom_model_data":59702}, "model": "lz:food/plated_cod_roll_2"}, - {"predicate": {"custom_model_data":59703}, "model": "lz:food/plated_cod_roll_3"}, - {"predicate": {"custom_model_data":59704}, "model": "lz:food/plated_cod_roll_4"}, - {"predicate": {"custom_model_data":59705}, "model": "lz:food/plated_cod_roll_5"}, - {"predicate": {"custom_model_data":59706}, "model": "lz:food/plated_cod_roll_6"}, - {"predicate": {"custom_model_data":59760}, "model": "lz:food/stew_baked_cod"} - ] -} + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/cod" + }, + "cases": [ + { "when": "roll", "model": { "type": "model", "model": "lz:food/plated_cod_roll" } }, + { "when": "roll1", "model": { "type": "model", "model": "lz:food/plated_cod_roll1" } }, + { "when": "roll2", "model": { "type": "model", "model": "lz:food/plated_cod_roll2" } }, + { "when": "roll3", "model": { "type": "model", "model": "lz:food/plated_cod_roll3" } }, + { "when": "roll4", "model": { "type": "model", "model": "lz:food/plated_cod_roll4" } }, + { "when": "roll5", "model": { "type": "model", "model": "lz:food/plated_cod_roll5" } }, + { "when": "roll6", "model": { "type": "model", "model": "lz:food/plated_cod_roll6" } }, + { "when": "stew", "model": { "type": "model", "model": "lz:food/stew_baked_cod" } } + ] + } +} \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/cooked_beef.json b/packs/0-lzcustom/assets/minecraft/items/cooked_beef.json index a896207..1fb109b 100644 --- a/packs/0-lzcustom/assets/minecraft/items/cooked_beef.json +++ b/packs/0-lzcustom/assets/minecraft/items/cooked_beef.json @@ -1,9 +1,13 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/cooked_beef" - }, - "overrides": [ - {"predicate": {"custom_model_data":59760}, "model": "lz:food/stew_beef"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/cooked_beef" + }, + "cases": [ + { "when": "stew", "model": { "type": "model", "model": "lz:food/stew_beef" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/cooked_chicken.json b/packs/0-lzcustom/assets/minecraft/items/cooked_chicken.json index b6a982e..e8960ca 100644 --- a/packs/0-lzcustom/assets/minecraft/items/cooked_chicken.json +++ b/packs/0-lzcustom/assets/minecraft/items/cooked_chicken.json @@ -1,16 +1,20 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/cooked_chicken" - }, - "overrides": [ - {"predicate": {"custom_model_data":59700}, "model": "lz:food/plated_roast_chicken"}, - {"predicate": {"custom_model_data":59701}, "model": "lz:food/plated_roast_chicken0"}, - {"predicate": {"custom_model_data":59702}, "model": "lz:food/plated_roast_chicken1"}, - {"predicate": {"custom_model_data":59703}, "model": "lz:food/plated_roast_chicken2"}, - {"predicate": {"custom_model_data":59704}, "model": "lz:food/plated_roast_chicken3"}, - {"predicate": {"custom_model_data":59705}, "model": "lz:food/plated_roast_chicken4"}, - {"predicate": {"custom_model_data":59750}, "model": "lz:food/soup_chicken"}, - {"predicate": {"custom_model_data":59760}, "model": "lz:food/stew_chicken"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/cooked_chicken" + }, + "cases": [ + { "when": "roast", "model": { "type": "model", "model": "lz:food/plated_roast_chicken" } }, + { "when": "roast0", "model": { "type": "model", "model": "lz:food/plated_roast_chicken0" } }, + { "when": "roast1", "model": { "type": "model", "model": "lz:food/plated_roast_chicken1" } }, + { "when": "roast2", "model": { "type": "model", "model": "lz:food/plated_roast_chicken2" } }, + { "when": "roast3", "model": { "type": "model", "model": "lz:food/plated_roast_chicken3" } }, + { "when": "roast4", "model": { "type": "model", "model": "lz:food/plated_roast_chicken4" } }, + { "when": "soup", "model": { "type": "model", "model": "lz:food/soup_chicken" } }, + { "when": "stew", "model": { "type": "model", "model": "lz:food/stew_chicken" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/cooked_cod.json b/packs/0-lzcustom/assets/minecraft/items/cooked_cod.json index ed1f593..06d8630 100644 --- a/packs/0-lzcustom/assets/minecraft/items/cooked_cod.json +++ b/packs/0-lzcustom/assets/minecraft/items/cooked_cod.json @@ -1,10 +1,14 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/cooked_cod" - }, - "overrides": [ - {"predicate": {"custom_model_data":59760}, "model": "lz:food/stew_baked_cod"}, - {"predicate": {"custom_model_data":59761}, "model": "lz:food/stew_fish"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/cooked_cod" + }, + "cases": [ + { "when": "stew_cod", "model": { "type": "model", "model": "lz:food/stew_baked_cod" } }, + { "when": "stew_fish", "model": { "type": "model", "model": "lz:food/stew_fish" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/cooked_porkchop.json b/packs/0-lzcustom/assets/minecraft/items/cooked_porkchop.json index 2d004af..3fcffb4 100644 --- a/packs/0-lzcustom/assets/minecraft/items/cooked_porkchop.json +++ b/packs/0-lzcustom/assets/minecraft/items/cooked_porkchop.json @@ -1,14 +1,18 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/cooked_porkchop" - }, - "overrides": [ - {"predicate": {"custom_model_data":59700}, "model": "lz:food/plated_honey_glazed_ham"}, - {"predicate": {"custom_model_data":59701}, "model": "lz:food/plated_honey_glazed_ham0"}, - {"predicate": {"custom_model_data":59702}, "model": "lz:food/plated_honey_glazed_ham1"}, - {"predicate": {"custom_model_data":59703}, "model": "lz:food/plated_honey_glazed_ham2"}, - {"predicate": {"custom_model_data":59704}, "model": "lz:food/plated_honey_glazed_ham3"}, - {"predicate": {"custom_model_data":59705}, "model": "lz:food/plated_honey_glazed_ham4"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/cooked_porkchop" + }, + "cases": [ + { "when": "ham", "model": { "type": "model", "model": "lz:food/plated_honey_glazed_ham" } }, + { "when": "ham0", "model": { "type": "model", "model": "lz:food/plated_honey_glazed_ham0" } }, + { "when": "ham1", "model": { "type": "model", "model": "lz:food/plated_honey_glazed_ham1" } }, + { "when": "ham2", "model": { "type": "model", "model": "lz:food/plated_honey_glazed_ham2" } }, + { "when": "ham3", "model": { "type": "model", "model": "lz:food/plated_honey_glazed_ham3" } }, + { "when": "ham4", "model": { "type": "model", "model": "lz:food/plated_honey_glazed_ham4" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/cooked_rabbit.json b/packs/0-lzcustom/assets/minecraft/items/cooked_rabbit.json index dc8c917..88df16b 100644 --- a/packs/0-lzcustom/assets/minecraft/items/cooked_rabbit.json +++ b/packs/0-lzcustom/assets/minecraft/items/cooked_rabbit.json @@ -1,9 +1,13 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/cooked_rabbit" - }, - "overrides": [ - {"predicate": {"custom_model_data":59760}, "model": "lz:food/stew_rabbit"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/cooked_rabbit" + }, + "cases": [ + { "when": "stew", "model": { "type": "model", "model": "lz:food/stew_rabbit" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/cookie.json b/packs/0-lzcustom/assets/minecraft/items/cookie.json index f7ff381..3fe5f3b 100644 --- a/packs/0-lzcustom/assets/minecraft/items/cookie.json +++ b/packs/0-lzcustom/assets/minecraft/items/cookie.json @@ -1,33 +1,37 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/cookie" - }, - "overrides": [ - {"predicate": {"custom_model_data":59700}, "model": "lz:food/plated_cookie"}, - {"predicate": {"custom_model_data":59701}, "model": "lz:food/plated_cookie1"}, - {"predicate": {"custom_model_data":59702}, "model": "lz:food/plated_cookie2"}, - {"predicate": {"custom_model_data":59703}, "model": "lz:food/plated_cookie3"}, - {"predicate": {"custom_model_data":59704}, "model": "lz:food/plated_cookie4"}, - {"predicate": {"custom_model_data":59710}, "model": "lz:food/plated_cookie_sweet_berry"}, - {"predicate": {"custom_model_data":59711}, "model": "lz:food/plated_cookie_sweet_berry1"}, - {"predicate": {"custom_model_data":59712}, "model": "lz:food/plated_cookie_sweet_berry2"}, - {"predicate": {"custom_model_data":59713}, "model": "lz:food/plated_cookie_sweet_berry3"}, - {"predicate": {"custom_model_data":59714}, "model": "lz:food/plated_cookie_sweet_berry4"}, - {"predicate": {"custom_model_data":59720}, "model": "lz:food/plated_cookie_honey"}, - {"predicate": {"custom_model_data":59721}, "model": "lz:food/plated_cookie_honey1"}, - {"predicate": {"custom_model_data":59722}, "model": "lz:food/plated_cookie_honey2"}, - {"predicate": {"custom_model_data":59723}, "model": "lz:food/plated_cookie_honey3"}, - {"predicate": {"custom_model_data":59724}, "model": "lz:food/plated_cookie_honey4"}, - {"predicate": {"custom_model_data":59730}, "model": "lz:food/plated_cookie_sugar"}, - {"predicate": {"custom_model_data":59731}, "model": "lz:food/plated_cookie_sugar1"}, - {"predicate": {"custom_model_data":59732}, "model": "lz:food/plated_cookie_sugar2"}, - {"predicate": {"custom_model_data":59733}, "model": "lz:food/plated_cookie_sugar3"}, - {"predicate": {"custom_model_data":59734}, "model": "lz:food/plated_cookie_sugar4"}, - {"predicate": {"custom_model_data":59740}, "model": "lz:food/plated_cookie_chocolate"}, - {"predicate": {"custom_model_data":59741}, "model": "lz:food/plated_cookie_chocolate1"}, - {"predicate": {"custom_model_data":59742}, "model": "lz:food/plated_cookie_chocolate2"}, - {"predicate": {"custom_model_data":59743}, "model": "lz:food/plated_cookie_chocolate3"}, - {"predicate": {"custom_model_data":59744}, "model": "lz:food/plated_cookie_chocolate4"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/cookie" + }, + "cases": [ + { "when": "cookie", "model": { "type": "model", "model": "lz:food/plated_cookie" } }, + { "when": "cookie1", "model": { "type": "model", "model": "lz:food/plated_cookie1" } }, + { "when": "cookie2", "model": { "type": "model", "model": "lz:food/plated_cookie2" } }, + { "when": "cookie4", "model": { "type": "model", "model": "lz:food/plated_cookie3" } }, + { "when": "cookie4", "model": { "type": "model", "model": "lz:food/plated_cookie4" } }, + { "when": "sweet_berry", "model": { "type": "model", "model": "lz:food/plated_cookie_sweet_berry" } }, + { "when": "sweet_berry1", "model": { "type": "model", "model": "lz:food/plated_cookie_sweet_berry1" } }, + { "when": "sweet_berry2", "model": { "type": "model", "model": "lz:food/plated_cookie_sweet_berry2" } }, + { "when": "sweet_berry3", "model": { "type": "model", "model": "lz:food/plated_cookie_sweet_berry3" } }, + { "when": "sweet_berry4", "model": { "type": "model", "model": "lz:food/plated_cookie_sweet_berry4" } }, + { "when": "honey", "model": { "type": "model", "model": "lz:food/plated_cookie_honey" } }, + { "when": "honey1", "model": { "type": "model", "model": "lz:food/plated_cookie_honey1" } }, + { "when": "honey2", "model": { "type": "model", "model": "lz:food/plated_cookie_honey2" } }, + { "when": "honey3", "model": { "type": "model", "model": "lz:food/plated_cookie_honey3" } }, + { "when": "honey4", "model": { "type": "model", "model": "lz:food/plated_cookie_honey4" } }, + { "when": "sugar", "model": { "type": "model", "model": "lz:food/plated_cookie_sugar" } }, + { "when": "sugar1", "model": { "type": "model", "model": "lz:food/plated_cookie_sugar1" } }, + { "when": "sugar2", "model": { "type": "model", "model": "lz:food/plated_cookie_sugar2" } }, + { "when": "sugar3", "model": { "type": "model", "model": "lz:food/plated_cookie_sugar3" } }, + { "when": "sugar4", "model": { "type": "model", "model": "lz:food/plated_cookie_sugar4" } }, + { "when": "chocolate", "model": { "type": "model", "model": "lz:food/plated_cookie_chocolate" } }, + { "when": "chocolate1", "model": { "type": "model", "model": "lz:food/plated_cookie_chocolate1" } }, + { "when": "chocolate2", "model": { "type": "model", "model": "lz:food/plated_cookie_chocolate2" } }, + { "when": "chocolate3", "model": { "type": "model", "model": "lz:food/plated_cookie_chocolate3" } }, + { "when": "chocolate4", "model": { "type": "model", "model": "lz:food/plated_cookie_chocolate4" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/dried_kelp.json b/packs/0-lzcustom/assets/minecraft/items/dried_kelp.json index 2cdf4b0..273ac63 100644 --- a/packs/0-lzcustom/assets/minecraft/items/dried_kelp.json +++ b/packs/0-lzcustom/assets/minecraft/items/dried_kelp.json @@ -1,12 +1,16 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/dried_kelp" - }, - "overrides": [ - {"predicate": {"custom_model_data":59700}, "model": "lz:food/plated_kelp_roll"}, - {"predicate": {"custom_model_data":59701}, "model": "lz:food/plated_kelp_roll_1"}, - {"predicate": {"custom_model_data":59702}, "model": "lz:food/plated_kelp_roll_2"}, - {"predicate": {"custom_model_data":59703}, "model": "lz:food/plated_kelp_roll_3"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/dried_kelp" + }, + "cases": [ + { "when": "roll", "model": { "type": "model", "model": "lz:food/plated_kelp_roll" } }, + { "when": "roll1", "model": { "type": "model", "model": "lz:food/plated_kelp_roll_1" } }, + { "when": "roll2", "model": { "type": "model", "model": "lz:food/plated_kelp_roll_2" } }, + { "when": "roll3", "model": { "type": "model", "model": "lz:food/plated_kelp_roll_3" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/glass_bottle.json b/packs/0-lzcustom/assets/minecraft/items/glass_bottle.json index 0fcd57f..30f1a97 100644 --- a/packs/0-lzcustom/assets/minecraft/items/glass_bottle.json +++ b/packs/0-lzcustom/assets/minecraft/items/glass_bottle.json @@ -1,11 +1,15 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/glass_bottle" - }, - "overrides": [ - {"predicate": {"custom_model_data":59701}, "model": "lz:festive/hot_chocolate_mug"}, - {"predicate": {"custom_model_data":59710}, "model": "lz:food/glass_bottle"}, - {"predicate": {"custom_model_data":59711}, "model": "lz:food/drink_water"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/glass_bottle" + }, + "cases": [ + { "when": "mug_chocolate", "model": { "type": "model", "model": "lz:festive/hot_chocolate_mug" } }, + { "when": "drink", "model": { "type": "model", "model": "lz:food/glass_bottle" } }, + { "when": "drink_water", "model": { "type": "model", "model": "lz:food/drink_water" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/glow_berries.json b/packs/0-lzcustom/assets/minecraft/items/glow_berries.json index 8f632a4..c0314b2 100644 --- a/packs/0-lzcustom/assets/minecraft/items/glow_berries.json +++ b/packs/0-lzcustom/assets/minecraft/items/glow_berries.json @@ -1,14 +1,18 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/glow_berries" - }, - "overrides": [ - {"predicate": {"custom_model_data":59700}, "model": "lz:food/plated_glow_berry_sweet_roll"}, - {"predicate": {"custom_model_data":59701}, "model": "lz:food/plated_glow_berry_sweet_roll1"}, - {"predicate": {"custom_model_data":59702}, "model": "lz:food/plated_glow_berry_sweet_roll2"}, - {"predicate": {"custom_model_data":59703}, "model": "lz:food/plated_glow_berry_sweet_roll3"}, - {"predicate": {"custom_model_data":59704}, "model": "lz:food/plated_glow_berry_sweet_roll4"}, - {"predicate": {"custom_model_data":59710}, "model": "lz:food/drink_glow_berry"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/glow_berries" + }, + "cases": [ + { "when": "roll", "model": { "type": "model", "model": "lz:food/plated_glow_berry_sweet_roll" } }, + { "when": "roll1", "model": { "type": "model", "model": "lz:food/plated_glow_berry_sweet_roll1" } }, + { "when": "roll2", "model": { "type": "model", "model": "lz:food/plated_glow_berry_sweet_roll2" } }, + { "when": "roll3", "model": { "type": "model", "model": "lz:food/plated_glow_berry_sweet_roll3" } }, + { "when": "roll4", "model": { "type": "model", "model": "lz:food/plated_glow_berry_sweet_roll4" } }, + { "when": "drink", "model": { "type": "model", "model": "lz:food/drink_glow_berry" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/melon_slice.json b/packs/0-lzcustom/assets/minecraft/items/melon_slice.json index 2f292a2..ef714a7 100644 --- a/packs/0-lzcustom/assets/minecraft/items/melon_slice.json +++ b/packs/0-lzcustom/assets/minecraft/items/melon_slice.json @@ -1,11 +1,15 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/melon_slice" - }, - "overrides": [ - {"predicate": {"custom_model_data":59701}, "model": "lz:food/plated_melon_popsicle1"}, - {"predicate": {"custom_model_data":59702}, "model": "lz:food/plated_melon_popsicle2"}, - {"predicate": {"custom_model_data":59710}, "model": "lz:food/drink_melon_juice"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/melon_slice" + }, + "cases": [ + { "when": "popsicle1", "model": { "type": "model", "model": "lz:food/plated_melon_popsicle1" } }, + { "when": "popsicle2", "model": { "type": "model", "model": "lz:food/plated_melon_popsicle2" } }, + { "when": "drink", "model": { "type": "model", "model": "lz:food/drink_melon_juice" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/mushroom_stew.json b/packs/0-lzcustom/assets/minecraft/items/mushroom_stew.json index f1f90fb..359c7cf 100644 --- a/packs/0-lzcustom/assets/minecraft/items/mushroom_stew.json +++ b/packs/0-lzcustom/assets/minecraft/items/mushroom_stew.json @@ -1,9 +1,13 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/mushroom_stew" - }, - "overrides": [ - {"predicate": {"custom_model_data":59760}, "model": "lz:food/stew_mushroom"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/mushroom_stew" + }, + "cases": [ + { "when": "stew", "model": { "type": "model", "model": "lz:food/stew_mushroom" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/oak_sapling.json b/packs/0-lzcustom/assets/minecraft/items/oak_sapling.json index 0c500b0..5644bec 100644 --- a/packs/0-lzcustom/assets/minecraft/items/oak_sapling.json +++ b/packs/0-lzcustom/assets/minecraft/items/oak_sapling.json @@ -1,9 +1,13 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:block/oak_sapling" - }, - "overrides": [ - {"predicate": {"custom_model_data":59701}, "model": "lz:festive/christmas_tree"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/oak_sapling" + }, + "cases": [ + { "when": "christmas", "model": { "type": "model", "model": "lz:festive/christmas_tree" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/paper.json b/packs/0-lzcustom/assets/minecraft/items/paper.json index e41573e..a13f4c4 100644 --- a/packs/0-lzcustom/assets/minecraft/items/paper.json +++ b/packs/0-lzcustom/assets/minecraft/items/paper.json @@ -1,136 +1,137 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/paper" - }, + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/paper" + }, + "cases": [ + { "when": "card_base", "model": { "type": "model", "model": "cards:item/base" } }, - "overrides": - [ - { "predicate": {"custom_model_data": 52000}, "model": "cards:item/base"}, + { "when": "card_s01", "model": { "type": "model", "model": "cards:item/s_01" } }, + { "when": "card_s02", "model": { "type": "model", "model": "cards:item/s_02" } }, + { "when": "card_s03", "model": { "type": "model", "model": "cards:item/s_03" } }, + { "when": "card_s04", "model": { "type": "model", "model": "cards:item/s_04" } }, + { "when": "card_s05", "model": { "type": "model", "model": "cards:item/s_05" } }, + { "when": "card_s06", "model": { "type": "model", "model": "cards:item/s_06" } }, + { "when": "card_s07", "model": { "type": "model", "model": "cards:item/s_07" } }, + { "when": "card_s08", "model": { "type": "model", "model": "cards:item/s_08" } }, + { "when": "card_s09", "model": { "type": "model", "model": "cards:item/s_09" } }, + { "when": "card_s10", "model": { "type": "model", "model": "cards:item/s_10" } }, + { "when": "card_s11", "model": { "type": "model", "model": "cards:item/s_11" } }, + { "when": "card_s12", "model": { "type": "model", "model": "cards:item/s_12" } }, + { "when": "card_s13", "model": { "type": "model", "model": "cards:item/s_13" } }, - { "predicate": {"custom_model_data": 52001}, "model": "cards:item/s_01"}, - { "predicate": {"custom_model_data": 52002}, "model": "cards:item/s_02"}, - { "predicate": {"custom_model_data": 52003}, "model": "cards:item/s_03"}, - { "predicate": {"custom_model_data": 52004}, "model": "cards:item/s_04"}, - { "predicate": {"custom_model_data": 52005}, "model": "cards:item/s_05"}, - { "predicate": {"custom_model_data": 52006}, "model": "cards:item/s_06"}, - { "predicate": {"custom_model_data": 52007}, "model": "cards:item/s_07"}, - { "predicate": {"custom_model_data": 52008}, "model": "cards:item/s_08"}, - { "predicate": {"custom_model_data": 52009}, "model": "cards:item/s_09"}, - { "predicate": {"custom_model_data": 52010}, "model": "cards:item/s_10"}, - { "predicate": {"custom_model_data": 52011}, "model": "cards:item/s_11"}, - { "predicate": {"custom_model_data": 52012}, "model": "cards:item/s_12"}, - { "predicate": {"custom_model_data": 52013}, "model": "cards:item/s_13"}, + { "when": "card_h01", "model": { "type": "model", "model": "cards:item/h_01" } }, + { "when": "card_h02", "model": { "type": "model", "model": "cards:item/h_02" } }, + { "when": "card_h03", "model": { "type": "model", "model": "cards:item/h_03" } }, + { "when": "card_h04", "model": { "type": "model", "model": "cards:item/h_04" } }, + { "when": "card_h05", "model": { "type": "model", "model": "cards:item/h_05" } }, + { "when": "card_h06", "model": { "type": "model", "model": "cards:item/h_06" } }, + { "when": "card_h07", "model": { "type": "model", "model": "cards:item/h_07" } }, + { "when": "card_h08", "model": { "type": "model", "model": "cards:item/h_08" } }, + { "when": "card_h09", "model": { "type": "model", "model": "cards:item/h_09" } }, + { "when": "card_h10", "model": { "type": "model", "model": "cards:item/h_10" } }, + { "when": "card_h11", "model": { "type": "model", "model": "cards:item/h_11" } }, + { "when": "card_h12", "model": { "type": "model", "model": "cards:item/h_12" } }, + { "when": "card_h13", "model": { "type": "model", "model": "cards:item/h_13" } }, - { "predicate": {"custom_model_data": 52014}, "model": "cards:item/h_01"}, - { "predicate": {"custom_model_data": 52015}, "model": "cards:item/h_02"}, - { "predicate": {"custom_model_data": 52016}, "model": "cards:item/h_03"}, - { "predicate": {"custom_model_data": 52017}, "model": "cards:item/h_04"}, - { "predicate": {"custom_model_data": 52018}, "model": "cards:item/h_05"}, - { "predicate": {"custom_model_data": 52019}, "model": "cards:item/h_06"}, - { "predicate": {"custom_model_data": 52020}, "model": "cards:item/h_07"}, - { "predicate": {"custom_model_data": 52021}, "model": "cards:item/h_08"}, - { "predicate": {"custom_model_data": 52022}, "model": "cards:item/h_09"}, - { "predicate": {"custom_model_data": 52023}, "model": "cards:item/h_10"}, - { "predicate": {"custom_model_data": 52024}, "model": "cards:item/h_11"}, - { "predicate": {"custom_model_data": 52025}, "model": "cards:item/h_12"}, - { "predicate": {"custom_model_data": 52026}, "model": "cards:item/h_13"}, + { "when": "card_c01", "model": { "type": "model", "model": "cards:item/c_01" } }, + { "when": "card_c02", "model": { "type": "model", "model": "cards:item/c_02" } }, + { "when": "card_c03", "model": { "type": "model", "model": "cards:item/c_03" } }, + { "when": "card_c04", "model": { "type": "model", "model": "cards:item/c_04" } }, + { "when": "card_c05", "model": { "type": "model", "model": "cards:item/c_05" } }, + { "when": "card_c06", "model": { "type": "model", "model": "cards:item/c_06" } }, + { "when": "card_c07", "model": { "type": "model", "model": "cards:item/c_07" } }, + { "when": "card_c08", "model": { "type": "model", "model": "cards:item/c_08" } }, + { "when": "card_c09", "model": { "type": "model", "model": "cards:item/c_09" } }, + { "when": "card_c10", "model": { "type": "model", "model": "cards:item/c_10" } }, + { "when": "card_c11", "model": { "type": "model", "model": "cards:item/c_11" } }, + { "when": "card_c12", "model": { "type": "model", "model": "cards:item/c_12" } }, + { "when": "card_c13", "model": { "type": "model", "model": "cards:item/c_13" } }, - { "predicate": {"custom_model_data": 52027}, "model": "cards:item/c_01"}, - { "predicate": {"custom_model_data": 52028}, "model": "cards:item/c_02"}, - { "predicate": {"custom_model_data": 52029}, "model": "cards:item/c_03"}, - { "predicate": {"custom_model_data": 52030}, "model": "cards:item/c_04"}, - { "predicate": {"custom_model_data": 52031}, "model": "cards:item/c_05"}, - { "predicate": {"custom_model_data": 52032}, "model": "cards:item/c_06"}, - { "predicate": {"custom_model_data": 52033}, "model": "cards:item/c_07"}, - { "predicate": {"custom_model_data": 52034}, "model": "cards:item/c_08"}, - { "predicate": {"custom_model_data": 52035}, "model": "cards:item/c_09"}, - { "predicate": {"custom_model_data": 52036}, "model": "cards:item/c_10"}, - { "predicate": {"custom_model_data": 52037}, "model": "cards:item/c_11"}, - { "predicate": {"custom_model_data": 52038}, "model": "cards:item/c_12"}, - { "predicate": {"custom_model_data": 52039}, "model": "cards:item/c_13"}, + { "when": "card_d01", "model": { "type": "model", "model": "cards:item/d_01" } }, + { "when": "card_d02", "model": { "type": "model", "model": "cards:item/d_02" } }, + { "when": "card_d03", "model": { "type": "model", "model": "cards:item/d_03" } }, + { "when": "card_d04", "model": { "type": "model", "model": "cards:item/d_04" } }, + { "when": "card_d05", "model": { "type": "model", "model": "cards:item/d_05" } }, + { "when": "card_d06", "model": { "type": "model", "model": "cards:item/d_06" } }, + { "when": "card_d07", "model": { "type": "model", "model": "cards:item/d_07" } }, + { "when": "card_d08", "model": { "type": "model", "model": "cards:item/d_08" } }, + { "when": "card_d09", "model": { "type": "model", "model": "cards:item/d_09" } }, + { "when": "card_d10", "model": { "type": "model", "model": "cards:item/d_10" } }, + { "when": "card_d11", "model": { "type": "model", "model": "cards:item/d_11" } }, + { "when": "card_d12", "model": { "type": "model", "model": "cards:item/d_12" } }, + { "when": "card_d13", "model": { "type": "model", "model": "cards:item/d_13" } }, - { "predicate": {"custom_model_data": 52040}, "model": "cards:item/d_01"}, - { "predicate": {"custom_model_data": 52041}, "model": "cards:item/d_02"}, - { "predicate": {"custom_model_data": 52042}, "model": "cards:item/d_03"}, - { "predicate": {"custom_model_data": 52043}, "model": "cards:item/d_04"}, - { "predicate": {"custom_model_data": 52044}, "model": "cards:item/d_05"}, - { "predicate": {"custom_model_data": 52045}, "model": "cards:item/d_06"}, - { "predicate": {"custom_model_data": 52046}, "model": "cards:item/d_07"}, - { "predicate": {"custom_model_data": 52047}, "model": "cards:item/d_08"}, - { "predicate": {"custom_model_data": 52048}, "model": "cards:item/d_09"}, - { "predicate": {"custom_model_data": 52049}, "model": "cards:item/d_10"}, - { "predicate": {"custom_model_data": 52050}, "model": "cards:item/d_11"}, - { "predicate": {"custom_model_data": 52051}, "model": "cards:item/d_12"}, - { "predicate": {"custom_model_data": 52052}, "model": "cards:item/d_13"}, + { "when": "card_jr", "model": { "type": "model", "model": "cards:item/joker_red" } }, + { "when": "card_jb", "model": { "type": "model", "model": "cards:item/joker_black" } }, + { "when": "card_back", "model": { "type": "model", "model": "cards:item/back" } }, - { "predicate": {"custom_model_data": 52053}, "model": "cards:item/joker_red"}, - { "predicate": {"custom_model_data": 52054}, "model": "cards:item/joker_black"}, - { "predicate": {"custom_model_data": 52055}, "model": "cards:item/back"}, + { "when": "card_custom_base", "model": { "type": "model", "model": "cards:item/base" } }, - { "predicate": {"custom_model_data": 52100}, "model": "cards:item/custom/base"}, + { "when": "card_custom_s01", "model": { "type": "model", "model": "cards:item/custom/s_01" } }, + { "when": "card_custom_s02", "model": { "type": "model", "model": "cards:item/custom/s_02" } }, + { "when": "card_custom_s03", "model": { "type": "model", "model": "cards:item/custom/s_03" } }, + { "when": "card_custom_s04", "model": { "type": "model", "model": "cards:item/custom/s_04" } }, + { "when": "card_custom_s05", "model": { "type": "model", "model": "cards:item/custom/s_05" } }, + { "when": "card_custom_s06", "model": { "type": "model", "model": "cards:item/custom/s_06" } }, + { "when": "card_custom_s07", "model": { "type": "model", "model": "cards:item/custom/s_07" } }, + { "when": "card_custom_s08", "model": { "type": "model", "model": "cards:item/custom/s_08" } }, + { "when": "card_custom_s09", "model": { "type": "model", "model": "cards:item/custom/s_09" } }, + { "when": "card_custom_s10", "model": { "type": "model", "model": "cards:item/custom/s_10" } }, + { "when": "card_custom_s11", "model": { "type": "model", "model": "cards:item/custom/s_11" } }, + { "when": "card_custom_s12", "model": { "type": "model", "model": "cards:item/custom/s_12" } }, + { "when": "card_custom_s13", "model": { "type": "model", "model": "cards:item/custom/s_13" } }, - { "predicate": {"custom_model_data": 52101}, "model": "cards:item/custom/s_01"}, - { "predicate": {"custom_model_data": 52102}, "model": "cards:item/custom/s_02"}, - { "predicate": {"custom_model_data": 52103}, "model": "cards:item/custom/s_03"}, - { "predicate": {"custom_model_data": 52104}, "model": "cards:item/custom/s_04"}, - { "predicate": {"custom_model_data": 52105}, "model": "cards:item/custom/s_05"}, - { "predicate": {"custom_model_data": 52106}, "model": "cards:item/custom/s_06"}, - { "predicate": {"custom_model_data": 52107}, "model": "cards:item/custom/s_07"}, - { "predicate": {"custom_model_data": 52108}, "model": "cards:item/custom/s_08"}, - { "predicate": {"custom_model_data": 52109}, "model": "cards:item/custom/s_09"}, - { "predicate": {"custom_model_data": 52110}, "model": "cards:item/custom/s_10"}, - { "predicate": {"custom_model_data": 52111}, "model": "cards:item/custom/s_11"}, - { "predicate": {"custom_model_data": 52112}, "model": "cards:item/custom/s_12"}, - { "predicate": {"custom_model_data": 52113}, "model": "cards:item/custom/s_13"}, + { "when": "card_custom_h01", "model": { "type": "model", "model": "cards:item/custom/h_01" } }, + { "when": "card_custom_h02", "model": { "type": "model", "model": "cards:item/custom/h_02" } }, + { "when": "card_custom_h03", "model": { "type": "model", "model": "cards:item/custom/h_03" } }, + { "when": "card_custom_h04", "model": { "type": "model", "model": "cards:item/custom/h_04" } }, + { "when": "card_custom_h05", "model": { "type": "model", "model": "cards:item/custom/h_05" } }, + { "when": "card_custom_h06", "model": { "type": "model", "model": "cards:item/custom/h_06" } }, + { "when": "card_custom_h07", "model": { "type": "model", "model": "cards:item/custom/h_07" } }, + { "when": "card_custom_h08", "model": { "type": "model", "model": "cards:item/custom/h_08" } }, + { "when": "card_custom_h09", "model": { "type": "model", "model": "cards:item/custom/h_09" } }, + { "when": "card_custom_h10", "model": { "type": "model", "model": "cards:item/custom/h_10" } }, + { "when": "card_custom_h11", "model": { "type": "model", "model": "cards:item/custom/h_11" } }, + { "when": "card_custom_h12", "model": { "type": "model", "model": "cards:item/custom/h_12" } }, + { "when": "card_custom_h13", "model": { "type": "model", "model": "cards:item/custom/h_13" } }, - { "predicate": {"custom_model_data": 52114}, "model": "cards:item/custom/h_01"}, - { "predicate": {"custom_model_data": 52115}, "model": "cards:item/custom/h_02"}, - { "predicate": {"custom_model_data": 52116}, "model": "cards:item/custom/h_03"}, - { "predicate": {"custom_model_data": 52117}, "model": "cards:item/custom/h_04"}, - { "predicate": {"custom_model_data": 52118}, "model": "cards:item/custom/h_05"}, - { "predicate": {"custom_model_data": 52119}, "model": "cards:item/custom/h_06"}, - { "predicate": {"custom_model_data": 52120}, "model": "cards:item/custom/h_07"}, - { "predicate": {"custom_model_data": 52121}, "model": "cards:item/custom/h_08"}, - { "predicate": {"custom_model_data": 52122}, "model": "cards:item/custom/h_09"}, - { "predicate": {"custom_model_data": 52123}, "model": "cards:item/custom/h_10"}, - { "predicate": {"custom_model_data": 52124}, "model": "cards:item/custom/h_11"}, - { "predicate": {"custom_model_data": 52125}, "model": "cards:item/custom/h_12"}, - { "predicate": {"custom_model_data": 52126}, "model": "cards:item/custom/h_13"}, + { "when": "card_custom_c01", "model": { "type": "model", "model": "cards:item/custom/c_01" } }, + { "when": "card_custom_c02", "model": { "type": "model", "model": "cards:item/custom/c_02" } }, + { "when": "card_custom_c03", "model": { "type": "model", "model": "cards:item/custom/c_03" } }, + { "when": "card_custom_c04", "model": { "type": "model", "model": "cards:item/custom/c_04" } }, + { "when": "card_custom_c05", "model": { "type": "model", "model": "cards:item/custom/c_05" } }, + { "when": "card_custom_c06", "model": { "type": "model", "model": "cards:item/custom/c_06" } }, + { "when": "card_custom_c07", "model": { "type": "model", "model": "cards:item/custom/c_07" } }, + { "when": "card_custom_c08", "model": { "type": "model", "model": "cards:item/custom/c_08" } }, + { "when": "card_custom_c09", "model": { "type": "model", "model": "cards:item/custom/c_09" } }, + { "when": "card_custom_c10", "model": { "type": "model", "model": "cards:item/custom/c_10" } }, + { "when": "card_custom_c11", "model": { "type": "model", "model": "cards:item/custom/c_11" } }, + { "when": "card_custom_c12", "model": { "type": "model", "model": "cards:item/custom/c_12" } }, + { "when": "card_custom_c13", "model": { "type": "model", "model": "cards:item/custom/c_13" } }, - { "predicate": {"custom_model_data": 52127}, "model": "cards:item/custom/c_01"}, - { "predicate": {"custom_model_data": 52128}, "model": "cards:item/custom/c_02"}, - { "predicate": {"custom_model_data": 52129}, "model": "cards:item/custom/c_03"}, - { "predicate": {"custom_model_data": 52130}, "model": "cards:item/custom/c_04"}, - { "predicate": {"custom_model_data": 52131}, "model": "cards:item/custom/c_05"}, - { "predicate": {"custom_model_data": 52132}, "model": "cards:item/custom/c_06"}, - { "predicate": {"custom_model_data": 52133}, "model": "cards:item/custom/c_07"}, - { "predicate": {"custom_model_data": 52134}, "model": "cards:item/custom/c_08"}, - { "predicate": {"custom_model_data": 52135}, "model": "cards:item/custom/c_09"}, - { "predicate": {"custom_model_data": 52136}, "model": "cards:item/custom/c_10"}, - { "predicate": {"custom_model_data": 52137}, "model": "cards:item/custom/c_11"}, - { "predicate": {"custom_model_data": 52138}, "model": "cards:item/custom/c_12"}, - { "predicate": {"custom_model_data": 52139}, "model": "cards:item/custom/c_13"}, + { "when": "card_custom_d01", "model": { "type": "model", "model": "cards:item/custom/d_01" } }, + { "when": "card_custom_d02", "model": { "type": "model", "model": "cards:item/custom/d_02" } }, + { "when": "card_custom_d03", "model": { "type": "model", "model": "cards:item/custom/d_03" } }, + { "when": "card_custom_d04", "model": { "type": "model", "model": "cards:item/custom/d_04" } }, + { "when": "card_custom_d05", "model": { "type": "model", "model": "cards:item/custom/d_05" } }, + { "when": "card_custom_d06", "model": { "type": "model", "model": "cards:item/custom/d_06" } }, + { "when": "card_custom_d07", "model": { "type": "model", "model": "cards:item/custom/d_07" } }, + { "when": "card_custom_d08", "model": { "type": "model", "model": "cards:item/custom/d_08" } }, + { "when": "card_custom_d09", "model": { "type": "model", "model": "cards:item/custom/d_09" } }, + { "when": "card_custom_d10", "model": { "type": "model", "model": "cards:item/custom/d_10" } }, + { "when": "card_custom_d11", "model": { "type": "model", "model": "cards:item/custom/d_11" } }, + { "when": "card_custom_d12", "model": { "type": "model", "model": "cards:item/custom/d_12" } }, + { "when": "card_custom_d13", "model": { "type": "model", "model": "cards:item/custom/d_13" } }, - { "predicate": {"custom_model_data": 52140}, "model": "cards:item/custom/d_01"}, - { "predicate": {"custom_model_data": 52141}, "model": "cards:item/custom/d_02"}, - { "predicate": {"custom_model_data": 52142}, "model": "cards:item/custom/d_03"}, - { "predicate": {"custom_model_data": 52143}, "model": "cards:item/custom/d_04"}, - { "predicate": {"custom_model_data": 52144}, "model": "cards:item/custom/d_05"}, - { "predicate": {"custom_model_data": 52145}, "model": "cards:item/custom/d_06"}, - { "predicate": {"custom_model_data": 52146}, "model": "cards:item/custom/d_07"}, - { "predicate": {"custom_model_data": 52147}, "model": "cards:item/custom/d_08"}, - { "predicate": {"custom_model_data": 52148}, "model": "cards:item/custom/d_09"}, - { "predicate": {"custom_model_data": 52149}, "model": "cards:item/custom/d_10"}, - { "predicate": {"custom_model_data": 52150}, "model": "cards:item/custom/d_11"}, - { "predicate": {"custom_model_data": 52151}, "model": "cards:item/custom/d_12"}, - { "predicate": {"custom_model_data": 52152}, "model": "cards:item/custom/d_13"}, + { "when": "card_custom_jr", "model": { "type": "model", "model": "cards:item/custom/joker_red" } }, + { "when": "card_custom_jb", "model": { "type": "model", "model": "cards:item/custom/joker_black" } }, + { "when": "card_custom_back", "model": { "type": "model", "model": "cards:item/custom/back" } }, - { "predicate": {"custom_model_data": 52153}, "model": "cards:item/custom/joker_red"}, - { "predicate": {"custom_model_data": 52154}, "model": "cards:item/custom/joker_black"}, - { "predicate": {"custom_model_data": 52155}, "model": "cards:item/custom/back"}, - - { "predicate": {"custom_model_data": "lz:presents"}, "model": "lz:festive/presents"} - - ] + { "when": "presents", "model": { "type": "model", "model": "lz:festive/presents" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/pumpkin.json b/packs/0-lzcustom/assets/minecraft/items/pumpkin.json index e9e69e8..8eaa064 100644 --- a/packs/0-lzcustom/assets/minecraft/items/pumpkin.json +++ b/packs/0-lzcustom/assets/minecraft/items/pumpkin.json @@ -1,10 +1,17 @@ { - "parent": "minecraft:block/pumpkin", - "overrides": [ - {"predicate": {"custom_model_data":59700}, "model": "lz:food/stuffed_pumpkin"}, - {"predicate": {"custom_model_data":59701}, "model": "lz:food/stuffed_pumpkin1"}, - {"predicate": {"custom_model_data":59702}, "model": "lz:food/stuffed_pumpkin2"}, - {"predicate": {"custom_model_data":59703}, "model": "lz:food/stuffed_pumpkin3"}, - {"predicate": {"custom_model_data":59704}, "model": "lz:food/stuffed_pumpkin4"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:block/pumpkin" + }, + "cases": [ + { "when": "stuffed_pumpkin", "model": { "type": "model", "model": "lz:food/stuffed_pumpkin" } }, + { "when": "stuffed_pumpkin1", "model": { "type": "model", "model": "lz:food/stuffed_pumpkin1" } }, + { "when": "stuffed_pumpkin2", "model": { "type": "model", "model": "lz:food/stuffed_pumpkin2" } }, + { "when": "stuffed_pumpkin3", "model": { "type": "model", "model": "lz:food/stuffed_pumpkin3" } }, + { "when": "stuffed_pumpkin4", "model": { "type": "model", "model": "lz:food/stuffed_pumpkin4" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/pumpkin_pie.json b/packs/0-lzcustom/assets/minecraft/items/pumpkin_pie.json index 0483688..413de06 100644 --- a/packs/0-lzcustom/assets/minecraft/items/pumpkin_pie.json +++ b/packs/0-lzcustom/assets/minecraft/items/pumpkin_pie.json @@ -1,14 +1,18 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/pumpkin_pie" - }, - "overrides": [ - {"predicate": {"custom_model_data":59700}, "model": "lz:food/pie_pumpkin"}, - {"predicate": {"custom_model_data":59701}, "model": "lz:food/pie_pumpkin1"}, - {"predicate": {"custom_model_data":59702}, "model": "lz:food/pie_pumpkin2"}, - {"predicate": {"custom_model_data":59703}, "model": "lz:food/pie_pumpkin3"}, - {"predicate": {"custom_model_data":59704}, "model": "lz:food/pie_pumpkin4"}, - {"predicate": {"custom_model_data":59750}, "model": "lz:food/soup_pumpkin"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/pumpkin_pie" + }, + "cases": [ + { "when": "pie", "model": { "type": "model", "model": "lz:food/pie_pumpkin" } }, + { "when": "pie1", "model": { "type": "model", "model": "lz:food/pie_pumpkin1" } }, + { "when": "pie2", "model": { "type": "model", "model": "lz:food/pie_pumpkin2" } }, + { "when": "pie3", "model": { "type": "model", "model": "lz:food/pie_pumpkin3" } }, + { "when": "pie4", "model": { "type": "model", "model": "lz:food/pie_pumpkin4" } }, + { "when": "soup", "model": { "type": "model", "model": "lz:food/soup_pumpkin" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/salmon.json b/packs/0-lzcustom/assets/minecraft/items/salmon.json index bbb7901..6fbb7a3 100644 --- a/packs/0-lzcustom/assets/minecraft/items/salmon.json +++ b/packs/0-lzcustom/assets/minecraft/items/salmon.json @@ -1,15 +1,19 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/salmon" - }, - "overrides": [ - {"predicate": {"custom_model_data":59700}, "model": "lz:food/plated_salmon_roll"}, - {"predicate": {"custom_model_data":59701}, "model": "lz:food/plated_salmon_roll_1"}, - {"predicate": {"custom_model_data":59702}, "model": "lz:food/plated_salmon_roll_2"}, - {"predicate": {"custom_model_data":59703}, "model": "lz:food/plated_salmon_roll_3"}, - {"predicate": {"custom_model_data":59704}, "model": "lz:food/plated_salmon_roll_4"}, - {"predicate": {"custom_model_data":59705}, "model": "lz:food/plated_salmon_roll_5"}, - {"predicate": {"custom_model_data":59706}, "model": "lz:food/plated_salmon_roll_6"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/salmon" + }, + "cases": [ + { "when": "roll", "model": { "type": "model", "model": "lz:food/plated_salmon_roll" } }, + { "when": "roll", "model": { "type": "model", "model": "lz:food/plated_salmon_roll_1" } }, + { "when": "roll", "model": { "type": "model", "model": "lz:food/plated_salmon_roll_2" } }, + { "when": "roll", "model": { "type": "model", "model": "lz:food/plated_salmon_roll_3" } }, + { "when": "roll", "model": { "type": "model", "model": "lz:food/plated_salmon_roll_4" } }, + { "when": "roll", "model": { "type": "model", "model": "lz:food/plated_salmon_roll_5" } }, + { "when": "roll", "model": { "type": "model", "model": "lz:food/plated_salmon_roll_6" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/snow_block.json b/packs/0-lzcustom/assets/minecraft/items/snow_block.json index a0a3e6d..ed25e68 100644 --- a/packs/0-lzcustom/assets/minecraft/items/snow_block.json +++ b/packs/0-lzcustom/assets/minecraft/items/snow_block.json @@ -1,6 +1,13 @@ { - "parent": "minecraft:block/snow_block", - "overrides": [ - {"predicate": {"custom_model_data":59701}, "model": "lz:festive/snowman"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:block/snow_block" + }, + "cases": [ + { "when": "snowman", "model": { "type": "model", "model": "lz:festive/snowman" } } + ] + } } \ No newline at end of file diff --git a/packs/0-lzcustom/assets/minecraft/items/sweet_berries.json b/packs/0-lzcustom/assets/minecraft/items/sweet_berries.json index 1cd1a75..bac0c8e 100644 --- a/packs/0-lzcustom/assets/minecraft/items/sweet_berries.json +++ b/packs/0-lzcustom/assets/minecraft/items/sweet_berries.json @@ -1,14 +1,18 @@ { - "parent": "minecraft:item/generated", - "textures": { - "layer0": "minecraft:item/sweet_berries" - }, - "overrides": [ - {"predicate": {"custom_model_data":59700}, "model": "lz:food/pie_sweet_berry"}, - {"predicate": {"custom_model_data":59701}, "model": "lz:food/pie_sweet_berry1"}, - {"predicate": {"custom_model_data":59702}, "model": "lz:food/pie_sweet_berry2"}, - {"predicate": {"custom_model_data":59703}, "model": "lz:food/pie_sweet_berry3"}, - {"predicate": {"custom_model_data":59704}, "model": "lz:food/pie_sweet_berry4"}, - {"predicate": {"custom_model_data":59710}, "model": "lz:food/drink_sweet_berry"} - ] + "model": { + "type": "select", + "property": "custom_model_data", + "fallback": { + "type": "minecraft:model", + "model": "minecraft:item/sweet_berries" + }, + "cases": [ + { "when": "pie", "model": { "type": "model", "model": "lz:food/pie_sweet_berry" } }, + { "when": "pie1", "model": { "type": "model", "model": "lz:food/pie_sweet_berry1" } }, + { "when": "pie2", "model": { "type": "model", "model": "lz:food/pie_sweet_berry2" } }, + { "when": "pie3", "model": { "type": "model", "model": "lz:food/pie_sweet_berry3" } }, + { "when": "pie4", "model": { "type": "model", "model": "lz:food/pie_sweet_berry4" } }, + { "when": "drink", "model": { "type": "model", "model": "lz:foodfood/drink_sweet_berry" } } + ] + } } \ No newline at end of file