Skip to content

Commit

Permalink
Strider to firework + small fix (#14)
Browse files Browse the repository at this point in the history
the strider spawn egg has a firework texture when its custom_model_data is set to 1.
additionally the inner normal chest texture has been fixed.
  • Loading branch information
PurifiedSouls authored Aug 28, 2024
1 parent 7de94e4 commit e95bbc4
Show file tree
Hide file tree
Showing 2 changed files with 162 additions and 0 deletions.
152 changes: 152 additions & 0 deletions TGC_Pack/assets/minecraft/models/item/firework.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
{
"credit": "Made with Blockbench",
"textures": {
"0": "item/firework_rocket",
"particle": "item/firework_rocket"
},
"elements": [
{
"name": "firework_rocket_0",
"from": [8, 2, 7.5],
"to": [9, 14, 8.5],
"rotation": {"angle": 0, "axis": "y", "origin": [9.75, 6.25, 8]},
"faces": {
"north": {"uv": [9, 2, 8, 14], "texture": "#0"},
"east": {"uv": [8, 2, 9, 14], "texture": "#0"},
"south": {"uv": [8, 2, 9, 14], "texture": "#0"},
"west": {"uv": [8, 2, 9, 14], "texture": "#0"},
"up": {"uv": [8, 2, 9, 3], "texture": "#0"},
"down": {"uv": [8, 13, 9, 14], "texture": "#0"}
}
},
{
"name": "firework_rocket_1",
"from": [7, 2, 7.5],
"to": [8, 13, 8.5],
"rotation": {"angle": 0, "axis": "y", "origin": [9.75, 6.25, 8]},
"faces": {
"north": {"uv": [8, 3, 7, 14], "texture": "#0"},
"east": {"uv": [7, 3, 8, 14], "texture": "#0"},
"south": {"uv": [7, 3, 8, 14], "texture": "#0"},
"west": {"uv": [7, 3, 8, 14], "texture": "#0"},
"up": {"uv": [7, 3, 8, 4], "texture": "#0"},
"down": {"uv": [7, 13, 8, 14], "texture": "#0"}
}
},
{
"name": "firework_rocket_2",
"from": [9, 1, 7.5],
"to": [10, 13, 8.5],
"rotation": {"angle": 0, "axis": "y", "origin": [9.75, 6.25, 8]},
"faces": {
"north": {"uv": [10, 3, 9, 15], "texture": "#0"},
"east": {"uv": [9, 3, 10, 15], "texture": "#0"},
"south": {"uv": [9, 3, 10, 15], "texture": "#0"},
"west": {"uv": [9, 3, 10, 15], "texture": "#0"},
"up": {"uv": [9, 3, 10, 4], "texture": "#0"},
"down": {"uv": [9, 14, 10, 15], "texture": "#0"}
}
},
{
"name": "firework_rocket_3",
"from": [6, 10, 7.5],
"to": [7, 12, 8.5],
"rotation": {"angle": 0, "axis": "y", "origin": [9.75, 6.25, 8]},
"faces": {
"north": {"uv": [7, 4, 6, 6], "texture": "#0"},
"east": {"uv": [6, 4, 7, 6], "texture": "#0"},
"south": {"uv": [6, 4, 7, 6], "texture": "#0"},
"west": {"uv": [6, 4, 7, 6], "texture": "#0"},
"up": {"uv": [6, 4, 7, 5], "texture": "#0"},
"down": {"uv": [6, 5, 7, 6], "texture": "#0"}
}
},
{
"name": "firework_rocket_4",
"from": [10, 10, 7.5],
"to": [11, 12, 8.5],
"rotation": {"angle": 0, "axis": "y", "origin": [9.75, 6.25, 8]},
"faces": {
"north": {"uv": [11, 4, 10, 6], "texture": "#0"},
"east": {"uv": [10, 4, 11, 6], "texture": "#0"},
"south": {"uv": [10, 4, 11, 6], "texture": "#0"},
"west": {"uv": [10, 4, 11, 6], "texture": "#0"},
"up": {"uv": [10, 4, 11, 5], "texture": "#0"},
"down": {"uv": [10, 5, 11, 6], "texture": "#0"}
}
},
{
"name": "firework_rocket_5",
"from": [12, 3, 7.5],
"to": [14, 4, 8.5],
"rotation": {"angle": 0, "axis": "y", "origin": [9.75, 6.25, 8]},
"faces": {
"north": {"uv": [14, 12, 12, 13], "texture": "#0"},
"east": {"uv": [13, 12, 14, 13], "texture": "#0"},
"south": {"uv": [12, 12, 14, 13], "texture": "#0"},
"west": {"uv": [12, 12, 13, 13], "texture": "#0"},
"up": {"uv": [12, 12, 14, 13], "texture": "#0"},
"down": {"uv": [12, 12, 14, 13], "texture": "#0"}
}
},
{
"name": "firework_rocket_6",
"from": [11, 2, 7.5],
"to": [12, 3, 8.5],
"rotation": {"angle": 0, "axis": "y", "origin": [9.75, 6.25, 8]},
"faces": {
"north": {"uv": [12, 13, 11, 14], "texture": "#0"},
"east": {"uv": [11, 13, 12, 14], "texture": "#0"},
"south": {"uv": [11, 13, 12, 14], "texture": "#0"},
"west": {"uv": [11, 13, 12, 14], "texture": "#0"},
"up": {"uv": [11, 13, 12, 14], "texture": "#0"},
"down": {"uv": [11, 13, 12, 14], "texture": "#0"}
}
},
{
"name": "firework_rocket_7",
"from": [10, 1, 7.5],
"to": [11, 2, 8.5],
"rotation": {"angle": 0, "axis": "y", "origin": [9.75, 6.25, 8]},
"faces": {
"north": {"uv": [11, 14, 10, 15], "texture": "#0"},
"east": {"uv": [10, 14, 11, 15], "texture": "#0"},
"south": {"uv": [10, 14, 11, 15], "texture": "#0"},
"west": {"uv": [10, 14, 11, 15], "texture": "#0"},
"up": {"uv": [10, 14, 11, 15], "texture": "#0"},
"down": {"uv": [10, 14, 11, 15], "texture": "#0"}
}
}
],
"gui_light": "front",
"display": {
"thirdperson_righthand": {
"translation": [0, 3, 1],
"scale": [0.55, 0.55, 0.55]
},
"firstperson_righthand": {
"rotation": [0, -90, 25],
"translation": [1.13, 3.2, 1.13],
"scale": [0.68, 0.68, 0.68]
},
"ground": {
"translation": [0, 2, 0],
"scale": [0.5, 0.5, 0.5]
},
"head": {
"rotation": [0, 180, 0],
"translation": [0, 13, 7]
},
"fixed": {
"rotation": [0, 180, 0]
}
},
"groups": [
{
"name": "firework_rocket",
"origin": [8, 8, 8],
"color": 0,
"children": [0, 1, 2, 3, 4, 5, 6, 7]
}
]
}
10 changes: 10 additions & 0 deletions TGC_Pack/assets/minecraft/models/item/strider_spawn_egg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parent": "minecraft:item/template_spawn_egg",
"textures": {
"layer0": "minecraft:item/spawn_egg",
"layer1": "minecraft:item/spawn_egg_overlay"
},
"overrides": [
{"predicate": {"custom_model_data": 1},"model": "minecraft:item/firework"}
]
}

0 comments on commit e95bbc4

Please sign in to comment.