diff --git a/src/main/resources/assets/betterend/models/block/chorus_plant_center.json b/src/main/resources/assets/betterend/models/block/chorus_plant_center.json new file mode 100644 index 00000000..8b68aea6 --- /dev/null +++ b/src/main/resources/assets/betterend/models/block/chorus_plant_center.json @@ -0,0 +1,22 @@ +{ + "__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio", + "textures": { + "particle": "betterend:block/chorus_plant", + "texture": "betterend:block/chorus_plant" + }, + "elements": [ + { + "__comment": "Box1", + "from": [ 4, 4, 4 ], + "to": [ 12, 12, 12 ], + "faces": { + "down": { "uv": [ 4, 4, 12, 12 ], "texture": "#texture" }, + "up": { "uv": [ 4, 4, 12, 12 ], "texture": "#texture" }, + "north": { "uv": [ 4, 4, 12, 12 ], "texture": "#texture" }, + "south": { "uv": [ 4, 4, 12, 12 ], "texture": "#texture" }, + "west": { "uv": [ 4, 4, 12, 12 ], "texture": "#texture" }, + "east": { "uv": [ 4, 4, 12, 12 ], "texture": "#texture" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/betterend/models/block/chorus_plant_roots.json b/src/main/resources/assets/betterend/models/block/chorus_plant_roots.json new file mode 100644 index 00000000..f577c244 --- /dev/null +++ b/src/main/resources/assets/betterend/models/block/chorus_plant_roots.json @@ -0,0 +1,49 @@ +{ + "__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio", + "textures": { + "particle": "betterend:block/chorus_plant_roots", + "texture": "betterend:block/chorus_plant_roots" + }, + "elements": [ + { + "__comment": "PlaneX4", + "from": [ 6, 0, 0 ], + "to": [ 6.001, 16, 16 ], + "shade": false, + "faces": { + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "PlaneZ5", + "from": [ 0, 0, 6 ], + "to": [ 16, 16, 6.001 ], + "shade": false, + "faces": { + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "PlaneZ5", + "from": [ 0, 0, 10 ], + "to": [ 16, 16, 10.001 ], + "shade": false, + "faces": { + "north": { "uv": [ 16, 0, 0, 16 ], "texture": "#texture" }, + "south": { "uv": [ 16, 0, 0, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "PlaneX4", + "from": [ 10, 0, 0 ], + "to": [ 10.001, 16, 16 ], + "shade": false, + "faces": { + "west": { "uv": [ 16, 0, 0, 16 ], "texture": "#texture" }, + "east": { "uv": [ 16, 0, 0, 16 ], "texture": "#texture" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/betterend/models/block/chorus_plant_stem.json b/src/main/resources/assets/betterend/models/block/chorus_plant_stem.json new file mode 100644 index 00000000..b3e6601f --- /dev/null +++ b/src/main/resources/assets/betterend/models/block/chorus_plant_stem.json @@ -0,0 +1,45 @@ +{ + "__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio", + "textures": { + "particle": "betterend:block/chorus_plant", + "texture": "betterend:block/chorus_plant", + "needles": "betterend:block/chorus_plant_needles" + }, + "elements": [ + { + "__comment": "Box1", + "from": [ 5, 0, 5 ], + "to": [ 11, 8, 11 ], + "faces": { + "down": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" }, + "up": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" }, + "north": { "uv": [ 5, 8, 11, 16 ], "texture": "#texture" }, + "south": { "uv": [ 5, 8, 11, 16 ], "texture": "#texture" }, + "west": { "uv": [ 5, 8, 11, 16 ], "texture": "#texture" }, + "east": { "uv": [ 5, 8, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "PlaneX2", + "from": [ 0, 0, 0 ], + "to": [ 0.001, 8, 22.5 ], + "rotation": { "origin": [ 0, 0, 0 ], "axis": "y", "angle": 45 }, + "shade": false, + "faces": { + "west": { "uv": [ 0, 0, 16, 8 ], "texture": "#needles" }, + "east": { "uv": [ 0, 0, 16, 8 ], "texture": "#needles" } + } + }, + { + "__comment": "PlaneX2", + "from": [ 16, 0, 0 ], + "to": [ 16.001, 8, 22.5 ], + "rotation": { "origin": [ 16, 0, 0 ], "axis": "y", "angle": -45 }, + "shade": false, + "faces": { + "west": { "uv": [ 0, 0, 16, 8 ], "texture": "#needles" }, + "east": { "uv": [ 0, 0, 16, 8 ], "texture": "#needles" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/betterend/models/block/chorus_plant_stem_2.json b/src/main/resources/assets/betterend/models/block/chorus_plant_stem_2.json new file mode 100644 index 00000000..893841a8 --- /dev/null +++ b/src/main/resources/assets/betterend/models/block/chorus_plant_stem_2.json @@ -0,0 +1,45 @@ +{ + "__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio", + "textures": { + "particle": "betterend:block/chorus_plant", + "texture": "betterend:block/chorus_plant", + "needles": "betterend:block/chorus_plant_needles_2" + }, + "elements": [ + { + "__comment": "Box1", + "from": [ 5, 0, 5 ], + "to": [ 11, 8, 11 ], + "faces": { + "down": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" }, + "up": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" }, + "north": { "uv": [ 5, 8, 11, 16 ], "texture": "#texture" }, + "south": { "uv": [ 5, 8, 11, 16 ], "texture": "#texture" }, + "west": { "uv": [ 5, 8, 11, 16 ], "texture": "#texture" }, + "east": { "uv": [ 5, 8, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "PlaneX2", + "from": [ 0, 0, 0 ], + "to": [ 0.001, 8, 22.5 ], + "rotation": { "origin": [ 0, 0, 0 ], "axis": "y", "angle": 45 }, + "shade": false, + "faces": { + "west": { "uv": [ 0, 0, 16, 8 ], "texture": "#needles" }, + "east": { "uv": [ 0, 0, 16, 8 ], "texture": "#needles" } + } + }, + { + "__comment": "PlaneX2", + "from": [ 16, 0, 0 ], + "to": [ 16.001, 8, 22.5 ], + "rotation": { "origin": [ 16, 0, 0 ], "axis": "y", "angle": -45 }, + "shade": false, + "faces": { + "west": { "uv": [ 0, 0, 16, 8 ], "texture": "#needles" }, + "east": { "uv": [ 0, 0, 16, 8 ], "texture": "#needles" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/betterend/models/block/chorus_plant_stem_3.json b/src/main/resources/assets/betterend/models/block/chorus_plant_stem_3.json new file mode 100644 index 00000000..aaae8628 --- /dev/null +++ b/src/main/resources/assets/betterend/models/block/chorus_plant_stem_3.json @@ -0,0 +1,45 @@ +{ + "__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio", + "textures": { + "particle": "betterend:block/chorus_plant", + "texture": "betterend:block/chorus_plant", + "needles": "betterend:block/chorus_plant_needles_3" + }, + "elements": [ + { + "__comment": "Box1", + "from": [ 5, 0, 5 ], + "to": [ 11, 8, 11 ], + "faces": { + "down": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" }, + "up": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" }, + "north": { "uv": [ 5, 8, 11, 16 ], "texture": "#texture" }, + "south": { "uv": [ 5, 8, 11, 16 ], "texture": "#texture" }, + "west": { "uv": [ 5, 8, 11, 16 ], "texture": "#texture" }, + "east": { "uv": [ 5, 8, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "PlaneX2", + "from": [ 0, 0, 0 ], + "to": [ 0.001, 8, 22.5 ], + "rotation": { "origin": [ 0, 0, 0 ], "axis": "y", "angle": 45 }, + "shade": false, + "faces": { + "west": { "uv": [ 0, 0, 16, 8 ], "texture": "#needles" }, + "east": { "uv": [ 0, 0, 16, 8 ], "texture": "#needles" } + } + }, + { + "__comment": "PlaneX2", + "from": [ 16, 0, 0 ], + "to": [ 16.001, 8, 22.5 ], + "rotation": { "origin": [ 16, 0, 0 ], "axis": "y", "angle": -45 }, + "shade": false, + "faces": { + "west": { "uv": [ 0, 0, 16, 8 ], "texture": "#needles" }, + "east": { "uv": [ 0, 0, 16, 8 ], "texture": "#needles" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/betterend/models/block/chorus_plant_stem_4.json b/src/main/resources/assets/betterend/models/block/chorus_plant_stem_4.json new file mode 100644 index 00000000..3659621a --- /dev/null +++ b/src/main/resources/assets/betterend/models/block/chorus_plant_stem_4.json @@ -0,0 +1,45 @@ +{ + "__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio", + "textures": { + "particle": "betterend:block/chorus_plant", + "texture": "betterend:block/chorus_plant", + "needles": "betterend:block/chorus_plant_needles_4" + }, + "elements": [ + { + "__comment": "Box1", + "from": [ 5, 0, 5 ], + "to": [ 11, 8, 11 ], + "faces": { + "down": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" }, + "up": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" }, + "north": { "uv": [ 5, 8, 11, 16 ], "texture": "#texture" }, + "south": { "uv": [ 5, 8, 11, 16 ], "texture": "#texture" }, + "west": { "uv": [ 5, 8, 11, 16 ], "texture": "#texture" }, + "east": { "uv": [ 5, 8, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "PlaneX2", + "from": [ 0, 0, 0 ], + "to": [ 0.001, 8, 22.5 ], + "rotation": { "origin": [ 0, 0, 0 ], "axis": "y", "angle": 45 }, + "shade": false, + "faces": { + "west": { "uv": [ 0, 0, 16, 8 ], "texture": "#needles" }, + "east": { "uv": [ 0, 0, 16, 8 ], "texture": "#needles" } + } + }, + { + "__comment": "PlaneX2", + "from": [ 16, 0, 0 ], + "to": [ 16.001, 8, 22.5 ], + "rotation": { "origin": [ 16, 0, 0 ], "axis": "y", "angle": -45 }, + "shade": false, + "faces": { + "west": { "uv": [ 0, 0, 16, 8 ], "texture": "#needles" }, + "east": { "uv": [ 0, 0, 16, 8 ], "texture": "#needles" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/betterend/textures/block/chorus_plant.png b/src/main/resources/assets/betterend/textures/block/chorus_plant.png new file mode 100644 index 00000000..3b3f3f16 Binary files /dev/null and b/src/main/resources/assets/betterend/textures/block/chorus_plant.png differ diff --git a/src/main/resources/assets/betterend/textures/block/chorus_plant_2.png b/src/main/resources/assets/betterend/textures/block/chorus_plant_2.png new file mode 100644 index 00000000..50e226d9 Binary files /dev/null and b/src/main/resources/assets/betterend/textures/block/chorus_plant_2.png differ diff --git a/src/main/resources/assets/betterend/textures/block/chorus_plant_needles.png b/src/main/resources/assets/betterend/textures/block/chorus_plant_needles.png new file mode 100644 index 00000000..cb072a9d Binary files /dev/null and b/src/main/resources/assets/betterend/textures/block/chorus_plant_needles.png differ diff --git a/src/main/resources/assets/betterend/textures/block/chorus_plant_needles_2.png b/src/main/resources/assets/betterend/textures/block/chorus_plant_needles_2.png new file mode 100644 index 00000000..76ee6872 Binary files /dev/null and b/src/main/resources/assets/betterend/textures/block/chorus_plant_needles_2.png differ diff --git a/src/main/resources/assets/betterend/textures/block/chorus_plant_needles_3.png b/src/main/resources/assets/betterend/textures/block/chorus_plant_needles_3.png new file mode 100644 index 00000000..79de618e Binary files /dev/null and b/src/main/resources/assets/betterend/textures/block/chorus_plant_needles_3.png differ diff --git a/src/main/resources/assets/betterend/textures/block/chorus_plant_needles_4.png b/src/main/resources/assets/betterend/textures/block/chorus_plant_needles_4.png new file mode 100644 index 00000000..974faa58 Binary files /dev/null and b/src/main/resources/assets/betterend/textures/block/chorus_plant_needles_4.png differ diff --git a/src/main/resources/assets/betterend/textures/block/chorus_plant_roots.png b/src/main/resources/assets/betterend/textures/block/chorus_plant_roots.png new file mode 100644 index 00000000..791d4da4 Binary files /dev/null and b/src/main/resources/assets/betterend/textures/block/chorus_plant_roots.png differ diff --git a/src/main/resources/assets/minecraft/blockstates/chorus_plant.json b/src/main/resources/assets/minecraft/blockstates/chorus_plant.json new file mode 100644 index 00000000..5a46ba98 --- /dev/null +++ b/src/main/resources/assets/minecraft/blockstates/chorus_plant.json @@ -0,0 +1,69 @@ +{ + "multipart": [ + { + "when": { "OR": [ + {"up": "false"}, + {"down": "false"} + ]}, + "apply": { "model": "betterend:block/chorus_plant_center" } + }, + { + "when": {"roots": "true"}, + "apply": { "model": "betterend:block/chorus_plant_roots" } + }, + { + "when": {"north": "true"}, + "apply": [ + { "model": "betterend:block/chorus_plant_stem", "x": 90, "y": 180 }, + { "model": "betterend:block/chorus_plant_stem_2", "x": 90, "y": 180 }, + { "model": "betterend:block/chorus_plant_stem_3", "x": 90, "y": 180 }, + { "model": "betterend:block/chorus_plant_stem_4", "x": 90, "y": 180 } + ] + }, + { + "when": { "east": "true" }, + "apply": [ + { "model": "betterend:block/chorus_plant_stem", "x": 90, "y": 270 }, + { "model": "betterend:block/chorus_plant_stem_2", "x": 90, "y": 270 }, + { "model": "betterend:block/chorus_plant_stem_3", "x": 90, "y": 270 }, + { "model": "betterend:block/chorus_plant_stem_4", "x": 90, "y": 270 } + ] + }, + { + "when": { "south": "true" }, + "apply": [ + { "model": "betterend:block/chorus_plant_stem", "x": 90 }, + { "model": "betterend:block/chorus_plant_stem_2", "x": 90 }, + { "model": "betterend:block/chorus_plant_stem_3", "x": 90 }, + { "model": "betterend:block/chorus_plant_stem_4", "x": 90 } + ] + }, + { + "when": { "west": "true" }, + "apply": [ + { "model": "betterend:block/chorus_plant_stem", "x": 90, "y": 90 }, + { "model": "betterend:block/chorus_plant_stem_2", "x": 90, "y": 90 }, + { "model": "betterend:block/chorus_plant_stem_3", "x": 90, "y": 90 }, + { "model": "betterend:block/chorus_plant_stem_4", "x": 90, "y": 90 } + ] + }, + { + "when": { "up": "true" }, + "apply": [ + { "model": "betterend:block/chorus_plant_stem", "x": 180 }, + { "model": "betterend:block/chorus_plant_stem_2", "x": 180 }, + { "model": "betterend:block/chorus_plant_stem_3", "x": 180 }, + { "model": "betterend:block/chorus_plant_stem_4", "x": 180 } + ] + }, + { + "when": { "down": "true" }, + "apply": [ + { "model": "betterend:block/chorus_plant_stem" }, + { "model": "betterend:block/chorus_plant_stem_2" }, + { "model": "betterend:block/chorus_plant_stem_3" }, + { "model": "betterend:block/chorus_plant_stem_4" } + ] + } + ] +} \ No newline at end of file