From 50f07fbe0cc6f30458c61d4d1d2da7d0fed1fb52 Mon Sep 17 00:00:00 2001 From: Pyritie Date: Wed, 18 Jun 2025 01:27:41 +0100 Subject: [PATCH] fix birt dwelling model --- .../species/models/block/birt_dwelling.json | 1 + .../species/models/block/birt_dwelling_1.json | 100 ++++++++--- .../species/models/block/birt_dwelling_2.json | 134 ++++++++++---- .../species/models/block/birt_dwelling_3.json | 168 ++++++++++++++---- 4 files changed, 310 insertions(+), 93 deletions(-) diff --git a/kubejs/assets/species/models/block/birt_dwelling.json b/kubejs/assets/species/models/block/birt_dwelling.json index 6fa9722e0..3f31c2feb 100644 --- a/kubejs/assets/species/models/block/birt_dwelling.json +++ b/kubejs/assets/species/models/block/birt_dwelling.json @@ -1,5 +1,6 @@ { "parent": "minecraft:block/cube", + "render_type": "cutout", "ambientocclusion": true, "textures": { "front_inside": "species:block/birt_nest_front_inside", diff --git a/kubejs/assets/species/models/block/birt_dwelling_1.json b/kubejs/assets/species/models/block/birt_dwelling_1.json index 26d88bb24..3494d48e3 100644 --- a/kubejs/assets/species/models/block/birt_dwelling_1.json +++ b/kubejs/assets/species/models/block/birt_dwelling_1.json @@ -1,5 +1,6 @@ { "parent": "minecraft:block/cube", + "render_type": "cutout", "ambientocclusion": true, "textures": { "front_inside": "species:block/birt_nest_front_inside", @@ -14,38 +15,91 @@ }, "elements": [ { - "from": [0, 0, 0], - "to": [16, 16, 16], + "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], "faces": { - "north": {"uv": [0, 0, 16, 16], "texture": "#front"}, - "east": {"uv": [0, 0, 16, 16], "texture": "#side"}, - "south": {"uv": [0, 0, 16, 16], "texture": "#side"}, - "west": {"uv": [0, 0, 16, 16], "texture": "#side"}, - "up": {"uv": [0, 0, 16, 16], "texture": "#top"}, - "down": {"uv": [0, 0, 16, 16], "texture": "#top"} + "north": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#front" + }, + "east": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#side" + }, + "south": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#side" + }, + "west": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#side" + }, + "up": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#top" + }, + "down": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#top" + } } }, { - "from": [9, 2, 13], - "to": [14, 7, 13], + "from": [ 9, 2, 13 ], + "to": [ 14, 7, 13 ], "faces": { - "north": {"uv": [0, 0, 5, 5], "texture": "#birt"}, - "east": {"uv": [0, 0, 0, 5], "texture": "#birt"}, - "south": {"uv": [0, 0, 5, 5], "texture": "#birt"}, - "west": {"uv": [0, 0, 0, 5], "texture": "#birt"}, - "up": {"uv": [0, 0, 5, 0], "texture": "#birt"}, - "down": {"uv": [0, 0, 5, 0], "texture": "#birt"} + "north": { + "uv": [ 0, 0, 5, 5 ], + "texture": "#birt" + }, + "east": { + "uv": [ 0, 0, 0, 5 ], + "texture": "#birt" + }, + "south": { + "uv": [ 0, 0, 5, 5 ], + "texture": "#birt" + }, + "west": { + "uv": [ 0, 0, 0, 5 ], + "texture": "#birt" + }, + "up": { + "uv": [ 0, 0, 5, 0 ], + "texture": "#birt" + }, + "down": { + "uv": [ 0, 0, 5, 0 ], + "texture": "#birt" + } } }, { - "from": [2, 14, 0], - "to": [14, 2, 15], + "from": [ 2, 14, 0 ], + "to": [ 14, 2, 15 ], "faces": { - "east": {"uv": [1, 14, 16, 2], "texture": "#side_inside"}, - "south": {"uv": [2, 2, 14, 14], "texture": "#front_inside"}, - "west": {"uv": [16, 14, 1, 2], "texture": "#side_inside"}, - "up": {"uv": [16, 2, 1, 14], "rotation": 90, "texture": "#bottom_inside"}, - "down": {"uv": [1, 2, 16, 14], "rotation": 90, "texture": "#top_inside"} + "east": { + "uv": [ 1, 14, 16, 2 ], + "texture": "#side_inside" + }, + "south": { + "uv": [ 2, 2, 14, 14 ], + "texture": "#front_inside" + }, + "west": { + "uv": [ 16, 14, 1, 2 ], + "texture": "#side_inside" + }, + "up": { + "uv": [ 16, 2, 1, 14 ], + "rotation": 90, + "texture": "#bottom_inside" + }, + "down": { + "uv": [ 1, 2, 16, 14 ], + "rotation": 90, + "texture": "#top_inside" + } } } ] diff --git a/kubejs/assets/species/models/block/birt_dwelling_2.json b/kubejs/assets/species/models/block/birt_dwelling_2.json index ff6659629..8d56bdf8b 100644 --- a/kubejs/assets/species/models/block/birt_dwelling_2.json +++ b/kubejs/assets/species/models/block/birt_dwelling_2.json @@ -1,5 +1,6 @@ { "parent": "minecraft:block/cube", + "render_type": "cutout", "ambientocclusion": true, "textures": { "front_inside": "species:block/birt_nest_front_inside", @@ -14,50 +15,121 @@ }, "elements": [ { - "from": [0, 0, 0], - "to": [16, 16, 16], + "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], "faces": { - "north": {"uv": [0, 0, 16, 16], "texture": "#front"}, - "east": {"uv": [0, 0, 16, 16], "texture": "#side"}, - "south": {"uv": [0, 0, 16, 16], "texture": "#side"}, - "west": {"uv": [0, 0, 16, 16], "texture": "#side"}, - "up": {"uv": [0, 0, 16, 16], "texture": "#top"}, - "down": {"uv": [0, 0, 16, 16], "texture": "#top"} + "north": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#front" + }, + "east": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#side" + }, + "south": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#side" + }, + "west": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#side" + }, + "up": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#top" + }, + "down": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#top" + } } }, { - "from": [9, 2, 13], - "to": [14, 7, 13], + "from": [ 9, 2, 13 ], + "to": [ 14, 7, 13 ], "faces": { - "north": {"uv": [0, 0, 5, 5], "texture": "#birt"}, - "east": {"uv": [0, 0, 0, 5], "texture": "#birt"}, - "south": {"uv": [0, 0, 5, 5], "texture": "#birt"}, - "west": {"uv": [0, 0, 0, 5], "texture": "#birt"}, - "up": {"uv": [0, 0, 5, 0], "texture": "#birt"}, - "down": {"uv": [0, 0, 5, 0], "texture": "#birt"} + "north": { + "uv": [ 0, 0, 5, 5 ], + "texture": "#birt" + }, + "east": { + "uv": [ 0, 0, 0, 5 ], + "texture": "#birt" + }, + "south": { + "uv": [ 0, 0, 5, 5 ], + "texture": "#birt" + }, + "west": { + "uv": [ 0, 0, 0, 5 ], + "texture": "#birt" + }, + "up": { + "uv": [ 0, 0, 5, 0 ], + "texture": "#birt" + }, + "down": { + "uv": [ 0, 0, 5, 0 ], + "texture": "#birt" + } } }, { - "from": [5, 6, 12], - "to": [10, 11, 12], + "from": [ 5, 6, 12 ], + "to": [ 10, 11, 12 ], "faces": { - "north": {"uv": [0, 0, 5, 5], "texture": "#birt"}, - "east": {"uv": [0, 0, 0, 5], "texture": "#birt"}, - "south": {"uv": [0, 0, 5, 5], "texture": "#birt"}, - "west": {"uv": [0, 0, 0, 5], "texture": "#birt"}, - "up": {"uv": [0, 0, 5, 0], "texture": "#birt"}, - "down": {"uv": [0, 0, 5, 0], "texture": "#birt"} + "north": { + "uv": [ 0, 0, 5, 5 ], + "texture": "#birt" + }, + "east": { + "uv": [ 0, 0, 0, 5 ], + "texture": "#birt" + }, + "south": { + "uv": [ 0, 0, 5, 5 ], + "texture": "#birt" + }, + "west": { + "uv": [ 0, 0, 0, 5 ], + "texture": "#birt" + }, + "up": { + "uv": [ 0, 0, 5, 0 ], + "texture": "#birt" + }, + "down": { + "uv": [ 0, 0, 5, 0 ], + "texture": "#birt" + } } }, { - "from": [2, 14, 0], - "to": [14, 2, 15], + "from": [ 2, 14, 0 ], + "to": [ 14, 2, 15 ], "faces": { - "east": {"uv": [1, 14, 16, 2], "texture": "#side_inside"}, - "south": {"uv": [2, 14, 14, 2], "texture": "#front_inside"}, - "west": {"uv": [16, 14, 1, 2], "texture": "#side_inside"}, - "up": {"uv": [16, 2, 1, 14], "rotation": 90, "texture": "#bottom_inside"}, - "down": {"uv": [1, 2, 16, 14], "rotation": 90, "texture": "#top_inside"} + "east": { + "uv": [ 1, 14, 16, 2 ], + "texture": "#side_inside" + }, + "south": { + "uv": [ 2, 14, 14, 2 ], + "texture": "#front_inside" + }, + "west": { + "uv": [ 16, 14, 1, 2 ], + "texture": "#side_inside" + }, + "up": { + "uv": [ 16, 2, 1, 14 ], + "rotation": 90, + "texture": "#bottom_inside" + }, + "down": { + "uv": [ 1, 2, 16, 14 ], + "rotation": 90, + "texture": "#top_inside" + } } } ] diff --git a/kubejs/assets/species/models/block/birt_dwelling_3.json b/kubejs/assets/species/models/block/birt_dwelling_3.json index 9c164f407..e672d3b94 100644 --- a/kubejs/assets/species/models/block/birt_dwelling_3.json +++ b/kubejs/assets/species/models/block/birt_dwelling_3.json @@ -1,5 +1,6 @@ { "parent": "minecraft:block/cube", + "render_type": "cutout", "ambientocclusion": true, "textures": { "6": "create:block/palettes/stone_types/natural/asurine_1", @@ -14,62 +15,151 @@ }, "elements": [ { - "from": [0, 0, 0], - "to": [16, 16, 16], + "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], "faces": { - "north": {"uv": [0, 0, 16, 16], "texture": "#front"}, - "east": {"uv": [0, 0, 16, 16], "texture": "#6"}, - "south": {"uv": [0, 0, 16, 16], "texture": "#6"}, - "west": {"uv": [0, 0, 16, 16], "texture": "#6"}, - "up": {"uv": [0, 0, 16, 16], "texture": "#7"}, - "down": {"uv": [0, 0, 16, 16], "texture": "#7"} + "north": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#front" + }, + "east": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#6" + }, + "south": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#6" + }, + "west": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#6" + }, + "up": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#7" + }, + "down": { + "uv": [ 0, 0, 16, 16 ], + "texture": "#7" + } } }, { - "from": [9, 2, 13], - "to": [14, 7, 13], + "from": [ 9, 2, 13 ], + "to": [ 14, 7, 13 ], "faces": { - "north": {"uv": [0, 0, 5, 5], "texture": "#birt"}, - "east": {"uv": [0, 0, 0, 5], "texture": "#birt"}, - "south": {"uv": [0, 0, 5, 5], "texture": "#birt"}, - "west": {"uv": [0, 0, 0, 5], "texture": "#birt"}, - "up": {"uv": [0, 0, 5, 0], "texture": "#birt"}, - "down": {"uv": [0, 0, 5, 0], "texture": "#birt"} + "north": { + "uv": [ 0, 0, 5, 5 ], + "texture": "#birt" + }, + "east": { + "uv": [ 0, 0, 0, 5 ], + "texture": "#birt" + }, + "south": { + "uv": [ 0, 0, 5, 5 ], + "texture": "#birt" + }, + "west": { + "uv": [ 0, 0, 0, 5 ], + "texture": "#birt" + }, + "up": { + "uv": [ 0, 0, 5, 0 ], + "texture": "#birt" + }, + "down": { + "uv": [ 0, 0, 5, 0 ], + "texture": "#birt" + } } }, { - "from": [5, 6, 12], - "to": [10, 11, 12], + "from": [ 5, 6, 12 ], + "to": [ 10, 11, 12 ], "faces": { - "north": {"uv": [0, 0, 5, 5], "texture": "#birt"}, - "east": {"uv": [0, 0, 0, 5], "texture": "#birt"}, - "south": {"uv": [0, 0, 5, 5], "texture": "#birt"}, - "west": {"uv": [0, 0, 0, 5], "texture": "#birt"}, - "up": {"uv": [0, 0, 5, 0], "texture": "#birt"}, - "down": {"uv": [0, 0, 5, 0], "texture": "#birt"} + "north": { + "uv": [ 0, 0, 5, 5 ], + "texture": "#birt" + }, + "east": { + "uv": [ 0, 0, 0, 5 ], + "texture": "#birt" + }, + "south": { + "uv": [ 0, 0, 5, 5 ], + "texture": "#birt" + }, + "west": { + "uv": [ 0, 0, 0, 5 ], + "texture": "#birt" + }, + "up": { + "uv": [ 0, 0, 5, 0 ], + "texture": "#birt" + }, + "down": { + "uv": [ 0, 0, 5, 0 ], + "texture": "#birt" + } } }, { - "from": [2, 3, 14], - "to": [7, 8, 14], + "from": [ 2, 3, 14 ], + "to": [ 7, 8, 14 ], "faces": { - "north": {"uv": [0, 0, 5, 5], "texture": "#birt"}, - "east": {"uv": [0, 0, 0, 5], "texture": "#birt"}, - "south": {"uv": [0, 0, 5, 5], "texture": "#birt"}, - "west": {"uv": [0, 0, 0, 5], "texture": "#birt"}, - "up": {"uv": [0, 0, 5, 0], "texture": "#birt"}, - "down": {"uv": [0, 0, 5, 0], "texture": "#birt"} + "north": { + "uv": [ 0, 0, 5, 5 ], + "texture": "#birt" + }, + "east": { + "uv": [ 0, 0, 0, 5 ], + "texture": "#birt" + }, + "south": { + "uv": [ 0, 0, 5, 5 ], + "texture": "#birt" + }, + "west": { + "uv": [ 0, 0, 0, 5 ], + "texture": "#birt" + }, + "up": { + "uv": [ 0, 0, 5, 0 ], + "texture": "#birt" + }, + "down": { + "uv": [ 0, 0, 5, 0 ], + "texture": "#birt" + } } }, { - "from": [2, 14, 0], - "to": [14, 2, 15], + "from": [ 2, 14, 0 ], + "to": [ 14, 2, 15 ], "faces": { - "east": {"uv": [1, 14, 16, 2], "texture": "#side_inside"}, - "south": {"uv": [2, 14, 14, 2], "texture": "#front_inside"}, - "west": {"uv": [16, 14, 1, 2], "texture": "#side_inside"}, - "up": {"uv": [16, 2, 1, 14], "rotation": 90, "texture": "#bottom_inside"}, - "down": {"uv": [1, 2, 16, 14], "rotation": 90, "texture": "#top_inside"} + "east": { + "uv": [ 1, 14, 16, 2 ], + "texture": "#side_inside" + }, + "south": { + "uv": [ 2, 14, 14, 2 ], + "texture": "#front_inside" + }, + "west": { + "uv": [ 16, 14, 1, 2 ], + "texture": "#side_inside" + }, + "up": { + "uv": [ 16, 2, 1, 14 ], + "rotation": 90, + "texture": "#bottom_inside" + }, + "down": { + "uv": [ 1, 2, 16, 14 ], + "rotation": 90, + "texture": "#top_inside" + } } } ]