I have made a texturepack with a Custom Model Data Shield, Everything is Working except for the Blocking animation for the Custom Model Data Shield. :/
idk why it happens... Can anyone help? Heres the json files :
I have a similar problem but I don't want to change the 3D model of the shield but just the texture. I want to keep the vanilla model and work with custom model data but i don't know how I can link the texture to the new json files. Normally there is a "layer0" where you would just have to change the default item to the texture you created but the shield doesn't have that, there is just "particles". If you or anyone knows an easy solution, i would be finally able to go to sleep peacefully...
I have made a texturepack with a Custom Model Data Shield, Everything is Working except for the Blocking animation for the Custom Model Data Shield. :/
idk why it happens... Can anyone help? Heres the json files :
shield.json :
{
"parent": "builtin/entity",
"gui_light": "front",
"textures": {
"particle": "block/dark_oak_planks"
},
"display": {
"thirdperson_righthand": {
"rotation": [ 0, 90, 0 ],
"translation": [ 10, 6, -4 ],
"scale": [ 1, 1, 1 ]
},
"thirdperson_lefthand": {
"rotation": [ 0, 90, 0 ],
"translation": [ 10, 6, 12 ],
"scale": [ 1, 1, 1 ]
},
"firstperson_righthand": {
"rotation": [ 0, 180, 5 ],
"translation": [ -10, 2, -10 ],
"scale": [ 1.25, 1.25, 1.25 ]
},
"firstperson_lefthand": {
"rotation": [ 0, 180, 5 ],
"translation": [ 10, 0, -10 ],
"scale": [ 1.25, 1.25, 1.25 ]
},
"gui": {
"rotation": [ 15, -25, -5 ],
"translation": [ 2, 3, 0 ],
"scale": [ 0.65, 0.65, 0.65 ]
},
"fixed": {
"rotation": [ 0, 180, 0 ],
"translation": [ -4.5, 4.5, -5],
"scale":[ 0.55, 0.55, 0.55]
},
"ground": {
"rotation": [ 0, 0, 0 ],
"translation": [ 2, 4, 2],
"scale":[ 0.25, 0.25, 0.25]
}
},
"overrides": [
{ "predicate": { "blocking": 1 }, "model": "item/shield_blocking" },
{ "predicate": {"custom_model_data":123}, "model":"item/custom/doorshield"}
]
}
shield_blocking.json:
{
"parent": "builtin/entity",
"gui_light": "front",
"textures": {
"particle": "block/dark_oak_planks"
},
"display": {
"thirdperson_righthand": {
"rotation": [ 45, 155, 0 ],
"translation": [ -3.49, 11, -2 ],
"scale": [ 1, 1, 1 ]
},
"thirdperson_lefthand": {
"rotation": [ 45, 155, 0 ],
"translation": [ 11.51, 7, 2.5 ],
"scale": [ 1, 1, 1 ]
},
"firstperson_righthand": {
"rotation": [ 0, 180, -5 ],
"translation": [ -15, 5, -11 ],
"scale": [ 1.25, 1.25, 1.25 ]
},
"firstperson_lefthand": {
"rotation": [ 0, 180, -5 ],
"translation": [ 5, 5, -11 ],
"scale": [ 1.25, 1.25, 1.25 ]
},
"gui": {
"rotation": [ 15, -25, -5 ],
"translation": [ 2, 3, 0 ],
"scale": [ 0.65, 0.65, 0.65 ]
}
},
"overrides": [
{ "predicate": {"custom_model_data":123}, "model": "item/custom/doorshield_blocking"}
]
}
doorshield.json (custom shield):
{
"credit": "Made with Blockbench",
"texture_size": [64, 64],
"textures": {
"0": "item/doorshield",
"particle": "item/doorshield"
},
"elements": [
{
"from": [3, 11, 5],
"to": [9, 17, 7],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 15, 6]},
"faces": {
"north": {"uv": [2, 8, 3.5, 9.5], "texture": "#0"},
"east": {"uv": [0.5, 9.5, 1, 11], "texture": "#0"},
"south": {"uv": [0.5, 8, 2, 9.5], "texture": "#0"},
"west": {"uv": [0.5, 11, 1, 12.5], "texture": "#0"},
"up": {"uv": [1, 14, 0.5, 12.5], "rotation": 90, "texture": "#0"},
"down": {"uv": [4, 8.5, 3.5, 10], "rotation": 270, "texture": "#0"}
}
},
{
"from": [9, 0, -2],
"to": [11, 32, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 15, 6]},
"faces": {
"north": {"uv": [8, 0, 8.5, 8], "texture": "#0"},
"east": {"uv": [0, 0, 4, 8], "texture": "#0"},
"south": {"uv": [8.5, 0, 9, 8], "texture": "#0"},
"west": {"uv": [4, 0, 8, 8], "texture": "#0"},
"up": {"uv": [7.5, 8.5, 3.5, 8], "rotation": 90, "texture": "#0"},
"down": {"uv": [11.5, 8, 7.5, 8.5], "rotation": 270, "texture": "#0"}
}
}
],
"display": {
"thirdperson_righthand": {
"translation": [2, -8, 3.25]
},
"thirdperson_lefthand": {
"rotation": [0, 180, 0],
"translation": [2, -8, -0.75]
},
"firstperson_righthand": {
"rotation": [-33, 18, 0],
"translation": [6.5, -8.75, 6.5]
},
"firstperson_lefthand": {
"rotation": [-33, 18, 0],
"translation": [6.5, -8.75, 6.5]
},
"ground": {
"translation": [0, 3.5, 0],
"scale": [1, 0.6, 0.6]
},
"gui": {
"rotation": [0, -134, 18],
"translation": [0, -4, 0],
"scale": [1, 0.45, 0.45]
},
"fixed": {
"rotation": [0, 90, 0],
"translation": [0, -17.5, 0],
"scale": [3.23, 3, 3]
}
},
"overrides": [
{
"predicate": {
"blocking": 1
},
"model": "item/custom/doorshield_blocking"
}
]
}
doorshield_blocking.json :
{
"credit": "Made with Blockbench",
"texture_size": [64, 64],
"textures": {
"0": "item/doorshield",
"particle": "item/doorshield"
},
"elements": [
{
"from": [3, 11, 5],
"to": [9, 17, 7],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 15, 6]},
"faces": {
"north": {"uv": [2, 8, 3.5, 9.5], "texture": "#0"},
"east": {"uv": [0.5, 9.5, 1, 11], "texture": "#0"},
"south": {"uv": [0.5, 8, 2, 9.5], "texture": "#0"},
"west": {"uv": [0.5, 11, 1, 12.5], "texture": "#0"},
"up": {"uv": [1, 14, 0.5, 12.5], "rotation": 90, "texture": "#0"},
"down": {"uv": [4, 8.5, 3.5, 10], "rotation": 270, "texture": "#0"}
}
},
{
"from": [9, 0, -2],
"to": [11, 32, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 15, 6]},
"faces": {
"north": {"uv": [8, 0, 8.5, 8], "texture": "#0"},
"east": {"uv": [0, 0, 4, 8], "texture": "#0"},
"south": {"uv": [8.5, 0, 9, 8], "texture": "#0"},
"west": {"uv": [4, 0, 8, 8], "texture": "#0"},
"up": {"uv": [7.5, 8.5, 3.5, 8], "rotation": 90, "texture": "#0"},
"down": {"uv": [11.5, 8, 7.5, 8.5], "rotation": 270, "texture": "#0"}
}
}
],
"display": {
"thirdperson_righthand": {
"translation": [2, -8, 3.25]
},
"thirdperson_lefthand": {
"rotation": [0, 180, 0],
"translation": [2, -8, -0.75]
},
"firstperson_righthand": {
"rotation": [0, 90, 0],
"translation": [-7.05, -8.75, 3.25],
"scale": [1, 1, 1.05]
},
"firstperson_lefthand": {
"rotation": [0, 90, 0],
"translation": [-7.05, -8.75, -0.75],
"scale": [1, 1, 1.05]
},
"ground": {
"translation": [0, 3.5, 0],
"scale": [1, 0.6, 0.6]
},
"gui": {
"rotation": [0, -134, 18],
"translation": [0, -4, 0],
"scale": [1, 0.45, 0.45]
},
"fixed": {
"rotation": [0, 90, 0],
"translation": [2.5, -9, 0]
}
}
}
Models in overrides need to be referenced in the root model.
Any overrides in referenced models don't work.
Also, it's a Resource Pack, a Texture Pack does not include models, sounds, or anything not related to the textures' folder.
A Texture Pack is merely a specification, same goes for a Sound Pack and a Shader Pack.
Meow~
#F5F8FB
KittenKatja ♥
I have a similar problem but I don't want to change the 3D model of the shield but just the texture. I want to keep the vanilla model and work with custom model data but i don't know how I can link the texture to the new json files. Normally there is a "layer0" where you would just have to change the default item to the texture you created but the shield doesn't have that, there is just "particles". If you or anyone knows an easy solution, i would be finally able to go to sleep peacefully...