From 38e69cfa11f3d608c795fce53c855bef6072b4e2 Mon Sep 17 00:00:00 2001 From: DevCmb <71194682+29cmb@users.noreply.github.com> Date: Sat, 2 Nov 2024 18:28:01 -0400 Subject: [PATCH] Add colored flags --- .../models/item/custom/blue_flag.json | 376 ++++++++++++++++++ .../models/item/custom/red_flag.json | 376 ++++++++++++++++++ assets/minecraft/models/item/echo_shard.json | 20 + 3 files changed, 772 insertions(+) create mode 100644 assets/minecraft/models/item/custom/blue_flag.json create mode 100644 assets/minecraft/models/item/custom/red_flag.json create mode 100644 assets/minecraft/models/item/echo_shard.json diff --git a/assets/minecraft/models/item/custom/blue_flag.json b/assets/minecraft/models/item/custom/blue_flag.json new file mode 100644 index 0000000..7d1af5e --- /dev/null +++ b/assets/minecraft/models/item/custom/blue_flag.json @@ -0,0 +1,376 @@ +{ + "credit": "Made with Blockbench", + "textures": { + "0": "block/oak_planks", + "1": "block/blue_concrete", + "particle": "block/oak_planks" + }, + "elements": [ + { + "from": [ + 7, + 0, + 7 + ], + "to": [ + 10, + 22, + 10 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 7, + 0, + 7 + ] + }, + "faces": { + "north": { + "uv": [ + 0, + 0, + 2, + 16 + ], + "texture": "#0" + }, + "east": { + "uv": [ + 0, + 0, + 2, + 16 + ], + "texture": "#0" + }, + "south": { + "uv": [ + 0, + 0, + 2, + 16 + ], + "texture": "#0" + }, + "west": { + "uv": [ + 0, + 0, + 2, + 16 + ], + "texture": "#0" + }, + "up": { + "uv": [ + 0, + 0, + 2, + 2 + ], + "texture": "#0" + }, + "down": { + "uv": [ + 0, + 0, + 2, + 2 + ], + "texture": "#0" + } + } + }, + { + "from": [ + 7.5, + 12, + -5 + ], + "to": [ + 9.5, + 15, + 7 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 7.5, + 19, + 5 + ] + }, + "faces": { + "north": { + "uv": [ + 0, + 6, + 2, + 9 + ], + "texture": "#1" + }, + "east": { + "uv": [ + 0, + 6, + 12, + 9 + ], + "texture": "#1" + }, + "south": { + "uv": [ + 0, + 6, + 2, + 9 + ], + "texture": "#1" + }, + "west": { + "uv": [ + 0, + 6, + 12, + 9 + ], + "texture": "#1" + }, + "up": { + "uv": [ + 0, + 0, + 2, + 12 + ], + "texture": "#1" + }, + "down": { + "uv": [ + 0, + 0, + 2, + 12 + ], + "texture": "#1" + } + } + }, + { + "from": [ + 7.5, + 15, + -4 + ], + "to": [ + 9.5, + 18, + 7 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 7.5, + 19, + 5 + ] + }, + "faces": { + "north": { + "uv": [ + 0, + 3, + 2, + 6 + ], + "texture": "#1" + }, + "east": { + "uv": [ + 0, + 3, + 11, + 6 + ], + "texture": "#1" + }, + "south": { + "uv": [ + 0, + 3, + 2, + 6 + ], + "texture": "#1" + }, + "west": { + "uv": [ + 0, + 3, + 11, + 6 + ], + "texture": "#1" + }, + "up": { + "uv": [ + 0, + 0, + 2, + 11 + ], + "texture": "#1" + }, + "down": { + "uv": [ + 0, + 0, + 2, + 11 + ], + "texture": "#1" + } + } + }, + { + "from": [ + 7.5, + 18, + -5 + ], + "to": [ + 9.5, + 21, + 7 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 7.5, + 19, + 5 + ] + }, + "faces": { + "north": { + "uv": [ + 0, + 0, + 2, + 3 + ], + "texture": "#1" + }, + "east": { + "uv": [ + 0, + 0, + 12, + 3 + ], + "texture": "#1" + }, + "south": { + "uv": [ + 0, + 0, + 2, + 3 + ], + "texture": "#1" + }, + "west": { + "uv": [ + 0, + 0, + 12, + 3 + ], + "texture": "#1" + }, + "up": { + "uv": [ + 0, + 0, + 2, + 12 + ], + "texture": "#1" + }, + "down": { + "uv": [ + 0, + 0, + 2, + 12 + ], + "texture": "#1" + } + } + } + ], + "gui_light": "front", + "display": { + "thirdperson_righthand": { + "translation": [ + -0.5, + 1.75, + 0 + ] + }, + "thirdperson_lefthand": { + "translation": [ + 0.5, + 1.5, + 0 + ] + }, + "ground": { + "rotation": [ + -11.07, + -21.36, + 78.03 + ] + }, + "gui": { + "rotation": [ + -90, + -73, + -90 + ], + "translation": [ + -3.5, + -2, + 0 + ], + "scale": [ + 1, + 0.70117, + 0.65625 + ] + }, + "fixed": { + "rotation": [ + -92.9, + 58.96, + 92.51 + ], + "translation": [ + 4, + -1.25, + 0 + ], + "scale": [ + 0.49219, + 0.68555, + 0.64063 + ] + } + } +} \ No newline at end of file diff --git a/assets/minecraft/models/item/custom/red_flag.json b/assets/minecraft/models/item/custom/red_flag.json new file mode 100644 index 0000000..06691d6 --- /dev/null +++ b/assets/minecraft/models/item/custom/red_flag.json @@ -0,0 +1,376 @@ +{ + "credit": "Made with Blockbench", + "textures": { + "0": "block/oak_planks", + "1": "block/red_concrete", + "particle": "block/oak_planks" + }, + "elements": [ + { + "from": [ + 7, + 0, + 7 + ], + "to": [ + 10, + 22, + 10 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 7, + 0, + 7 + ] + }, + "faces": { + "north": { + "uv": [ + 0, + 0, + 2, + 16 + ], + "texture": "#0" + }, + "east": { + "uv": [ + 0, + 0, + 2, + 16 + ], + "texture": "#0" + }, + "south": { + "uv": [ + 0, + 0, + 2, + 16 + ], + "texture": "#0" + }, + "west": { + "uv": [ + 0, + 0, + 2, + 16 + ], + "texture": "#0" + }, + "up": { + "uv": [ + 0, + 0, + 2, + 2 + ], + "texture": "#0" + }, + "down": { + "uv": [ + 0, + 0, + 2, + 2 + ], + "texture": "#0" + } + } + }, + { + "from": [ + 7.5, + 12, + -5 + ], + "to": [ + 9.5, + 15, + 7 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 7.5, + 19, + 5 + ] + }, + "faces": { + "north": { + "uv": [ + 0, + 6, + 2, + 9 + ], + "texture": "#1" + }, + "east": { + "uv": [ + 0, + 6, + 12, + 9 + ], + "texture": "#1" + }, + "south": { + "uv": [ + 0, + 6, + 2, + 9 + ], + "texture": "#1" + }, + "west": { + "uv": [ + 0, + 6, + 12, + 9 + ], + "texture": "#1" + }, + "up": { + "uv": [ + 0, + 0, + 2, + 12 + ], + "texture": "#1" + }, + "down": { + "uv": [ + 0, + 0, + 2, + 12 + ], + "texture": "#1" + } + } + }, + { + "from": [ + 7.5, + 15, + -4 + ], + "to": [ + 9.5, + 18, + 7 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 7.5, + 19, + 5 + ] + }, + "faces": { + "north": { + "uv": [ + 0, + 3, + 2, + 6 + ], + "texture": "#1" + }, + "east": { + "uv": [ + 0, + 3, + 11, + 6 + ], + "texture": "#1" + }, + "south": { + "uv": [ + 0, + 3, + 2, + 6 + ], + "texture": "#1" + }, + "west": { + "uv": [ + 0, + 3, + 11, + 6 + ], + "texture": "#1" + }, + "up": { + "uv": [ + 0, + 0, + 2, + 11 + ], + "texture": "#1" + }, + "down": { + "uv": [ + 0, + 0, + 2, + 11 + ], + "texture": "#1" + } + } + }, + { + "from": [ + 7.5, + 18, + -5 + ], + "to": [ + 9.5, + 21, + 7 + ], + "rotation": { + "angle": 0, + "axis": "y", + "origin": [ + 7.5, + 19, + 5 + ] + }, + "faces": { + "north": { + "uv": [ + 0, + 0, + 2, + 3 + ], + "texture": "#1" + }, + "east": { + "uv": [ + 0, + 0, + 12, + 3 + ], + "texture": "#1" + }, + "south": { + "uv": [ + 0, + 0, + 2, + 3 + ], + "texture": "#1" + }, + "west": { + "uv": [ + 0, + 0, + 12, + 3 + ], + "texture": "#1" + }, + "up": { + "uv": [ + 0, + 0, + 2, + 12 + ], + "texture": "#1" + }, + "down": { + "uv": [ + 0, + 0, + 2, + 12 + ], + "texture": "#1" + } + } + } + ], + "gui_light": "front", + "display": { + "thirdperson_righthand": { + "translation": [ + -0.5, + 1.75, + 0 + ] + }, + "thirdperson_lefthand": { + "translation": [ + 0.5, + 1.5, + 0 + ] + }, + "ground": { + "rotation": [ + -11.07, + -21.36, + 78.03 + ] + }, + "gui": { + "rotation": [ + -90, + -73, + -90 + ], + "translation": [ + -3.5, + -2, + 0 + ], + "scale": [ + 1, + 0.70117, + 0.65625 + ] + }, + "fixed": { + "rotation": [ + -92.9, + 58.96, + 92.51 + ], + "translation": [ + 4, + -1.25, + 0 + ], + "scale": [ + 0.49219, + 0.68555, + 0.64063 + ] + } + } +} \ No newline at end of file diff --git a/assets/minecraft/models/item/echo_shard.json b/assets/minecraft/models/item/echo_shard.json new file mode 100644 index 0000000..729371c --- /dev/null +++ b/assets/minecraft/models/item/echo_shard.json @@ -0,0 +1,20 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "minecraft:item/echo_shard" + }, + "overrides": [ + { + "predicate": { + "custom_model_data": 1 + }, + "model": "item/custom/blue_flag" + }, + { + "predicate": { + "custom_model_data": 2 + }, + "model": "item/custom/red_flag" + } + ] +} \ No newline at end of file