From f5167bbdf561981faa12b4b00cceac4d3d931508 Mon Sep 17 00:00:00 2001 From: emortaldev Date: Mon, 19 Aug 2024 16:40:50 +0100 Subject: [PATCH] Add puncher model --- .../models/item/phantom_membrane.json | 3 +- .../assets/minecraft/models/item/puncher.json | 98 ++++++++++++++++++ .../minecraft/textures/item/puncher.png | Bin 0 -> 279 bytes 3 files changed, 100 insertions(+), 1 deletion(-) create mode 100644 pack/assets/minecraft/models/item/puncher.json create mode 100644 pack/assets/minecraft/textures/item/puncher.png diff --git a/pack/assets/minecraft/models/item/phantom_membrane.json b/pack/assets/minecraft/models/item/phantom_membrane.json index bc1f291..a4c78ac 100644 --- a/pack/assets/minecraft/models/item/phantom_membrane.json +++ b/pack/assets/minecraft/models/item/phantom_membrane.json @@ -6,6 +6,7 @@ "overrides": [ {"predicate": {"custom_model_data":1}, "model": "item/trumpet"}, {"predicate": {"custom_model_data":2}, "model": "item/emortalbox"}, - {"predicate": {"custom_model_data":3}, "model": "item/birthdayhat"} + {"predicate": {"custom_model_data":3}, "model": "item/birthdayhat"}, + {"predicate": {"custom_model_data":4}, "model": "item/puncher"} ] } diff --git a/pack/assets/minecraft/models/item/puncher.json b/pack/assets/minecraft/models/item/puncher.json new file mode 100644 index 0000000..0f5afa1 --- /dev/null +++ b/pack/assets/minecraft/models/item/puncher.json @@ -0,0 +1,98 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 32], + "textures": { + "0": "item/puncher", + "particle": "item/puncher" + }, + "elements": [ + { + "from": [6.625, 5, 3.625], + "to": [10.125, 11, 9.625], + "rotation": {"angle": 0, "axis": "y", "origin": [9.125, 8, 6.625]}, + "faces": { + "north": {"uv": [3, 0, 5, 3], "texture": "#0"}, + "east": {"uv": [0, 0, 3, 3], "texture": "#0"}, + "south": {"uv": [3, 3, 5, 6], "texture": "#0"}, + "west": {"uv": [0, 3, 3, 6], "texture": "#0"}, + "up": {"uv": [7, 3, 5, 0], "texture": "#0"}, + "down": {"uv": [7, 3, 5, 6], "texture": "#0"} + } + }, + { + "from": [5.875, 6, 8.625], + "to": [10.075, 10.2, 12.625], + "rotation": {"angle": 0, "axis": "y", "origin": [8.375, 9, 11.625]}, + "faces": { + "north": {"uv": [7, 0, 9, 2], "texture": "#0"}, + "east": {"uv": [7, 2, 9, 4], "texture": "#0"}, + "south": {"uv": [7, 4, 9, 6], "texture": "#0"}, + "west": {"uv": [7, 6, 9, 8], "texture": "#0"}, + "up": {"uv": [9, 10, 7, 8], "texture": "#0"}, + "down": {"uv": [2, 9, 0, 11], "texture": "#0"} + } + }, + { + "from": [5.625, 5, 2.375], + "to": [9.625, 11, 4.375], + "rotation": {"angle": 0, "axis": "y", "origin": [8.125, 8, 5.375]}, + "faces": { + "north": {"uv": [0, 6, 2, 9], "texture": "#0"}, + "east": {"uv": [9, 0, 10, 3], "texture": "#0"}, + "south": {"uv": [2, 6, 4, 9], "texture": "#0"}, + "west": {"uv": [2, 9, 3, 12], "texture": "#0"}, + "up": {"uv": [11, 5, 9, 4], "texture": "#0"}, + "down": {"uv": [11, 5, 9, 6], "texture": "#0"} + } + }, + { + "from": [5.125, 5, 2.875], + "to": [6.125, 11, 5.875], + "rotation": {"angle": 0, "axis": "y", "origin": [7.625, 8, 5.875]}, + "faces": { + "north": {"uv": [5.5, 9, 6, 12], "texture": "#0"}, + "east": {"uv": [4, 6, 5.5, 9], "texture": "#0"}, + "south": {"uv": [6, 9, 6.5, 12], "texture": "#0"}, + "west": {"uv": [5.5, 6, 7, 9], "texture": "#0"}, + "up": {"uv": [7, 10.5, 6.5, 9], "texture": "#0"}, + "down": {"uv": [9.5, 7, 9, 8.5], "texture": "#0"} + } + }, + { + "from": [5.625, 11, 4.625], + "to": [9.625, 12, 6.625], + "rotation": {"angle": 0, "axis": "y", "origin": [8.125, 18, 7.625]}, + "faces": { + "north": {"uv": [9, 6, 11.5, 6.5], "texture": "#0"}, + "east": {"uv": [9, 8.5, 10, 9], "texture": "#0"}, + "south": {"uv": [9, 6.5, 11.5, 7], "texture": "#0"}, + "west": {"uv": [9, 9, 10, 9.5], "texture": "#0"}, + "up": {"uv": [5.5, 10, 3, 9], "texture": "#0"}, + "down": {"uv": [11.5, 3, 9, 4], "texture": "#0"} + } + } + ], + "display": { + "thirdperson_righthand": { + "translation": [0.1, -2, -0.75], + "scale": [1, 1.05, 1] + }, + "thirdperson_lefthand": { + "rotation": [0, 0, 180], + "translation": [0.1, -1.85, -1] + }, + "firstperson_righthand": { + "rotation": [23, 8, 3], + "translation": [-1.75, 3, 1.25] + }, + "firstperson_lefthand": { + "rotation": [23, 8, -177], + "translation": [-1.75, 3, 1.25] + }, + "gui": { + "rotation": [63, 47, -26], + "translation": [1.25, -1, 0], + "scale": [1.2, 1.2, 1.2] + } + } +} \ No newline at end of file diff --git a/pack/assets/minecraft/textures/item/puncher.png b/pack/assets/minecraft/textures/item/puncher.png new file mode 100644 index 0000000000000000000000000000000000000000..abe6314c135bbc713d10354676d3cdb2e8f94384 GIT binary patch literal 279 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdz#^NA%Cx&(BWL^R}EX7WqAsj$Z z!;#Vf?3gXM+Jx>*dU#0vY~wE7-ROuDGlr*t#w2q5!AYy|o^vpPybo zn=vingtFT9LnelCj0Mh&3$$!zGJlbFczJH-oL$VX80Paiaxm`so}F>i^M;$}4Vx3m zUQVSA5n6l_2kd1|NC&b{2yw2v_w|;J1Q$c{lS*CFo-48e>?hI>E_ZTRJHzF3!(C26 z!{P;7Sp@!b=9+~^pN(Vv5-Z}cXmR0DzQ!qhsUBwcIUA?kuwFQY=YWg>`