Skip to content

Commit

Permalink
Add puncher model
Browse files Browse the repository at this point in the history
  • Loading branch information
emortaldev committed Aug 19, 2024
1 parent 00e81a0 commit f5167bb
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pack/assets/minecraft/models/item/phantom_membrane.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
]
}
98 changes: 98 additions & 0 deletions pack/assets/minecraft/models/item/puncher.json
Original file line number Diff line number Diff line change
@@ -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]
}
}
}
Binary file added pack/assets/minecraft/textures/item/puncher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f5167bb

Please sign in to comment.