I'm running this command on repeat to display the distance to the nearest buried treasure, but the value of the scoreboard doesn't change, it is stuck to 310...
execute as @a[tag=pl,limit=1] store result score @a[tag=pl,limit=1] treasure run locate Buried_Treasure
I tried with other structures too, but it's the same problem, it always stick to a certain value.
So, it worked, I've got my normal shield all fine that can block and my custom shield, but when I block with the custom shield, the model is just the base shield model, which is kinda ridiculous because the shield changes completely when you're blocking.
Actually, I just noticed that the swords are messed up too, there's no problem with the custom models but the vanilla items are modified wierdly.
I noticed that the models are angled at 90° on the Y axis, but only in third person, except for the shield that is also slightly moved in the GUI and in first person. So, if anyone got a solution, I'm all ears.
So, I'm making an adventure map and I started to use the CustomModelData tags to have special weapons for some mobs. I've made a sword that's working perfectly fine but the shield is a bit more complicated and I can't make it work properly.
First, the model of the normal shield is kinda messed up (Image1 and Image2).
And then, the shields (normal model and custom one) don't change position when blocking.
0
Thanks! It works perfectly now!
0
I'm running this command on repeat to display the distance to the nearest buried treasure, but the value of the scoreboard doesn't change, it is stuck to 310...
I tried with other structures too, but it's the same problem, it always stick to a certain value.
0
Thanks, it works perfectly! Hopefully I will be able to make more custom shields with that.
0
So, it worked, I've got my normal shield all fine that can block and my custom shield, but when I block with the custom shield, the model is just the base shield model, which is kinda ridiculous because the shield changes completely when you're blocking.
Here are the new models :
celeste2a.json :
celeste2b.json :
shield.json :
shield_blocking.json :
0
Thanks! I will try it I just didn't found the vanilla model and based mine on custom models from resource packs.
0
Still looking for a solution to my shield problem...
0
I think that CustomModelData needs a number between 1000001 and 1999999 so that might be why it is not working, the numbers you chose are too shorts.
0
Fixed the sword, I just forgot to put "item/handheld" as the parent model.
But I still got the problem with the shield...
0
Actually, I just noticed that the swords are messed up too, there's no problem with the custom models but the vanilla items are modified wierdly.
I noticed that the models are angled at 90° on the Y axis, but only in third person, except for the shield that is also slightly moved in the GUI and in first person. So, if anyone got a solution, I'm all ears.
0
So, I'm making an adventure map and I started to use the CustomModelData tags to have special weapons for some mobs. I've made a sword that's working perfectly fine but the shield is a bit more complicated and I can't make it work properly.
First, the model of the normal shield is kinda messed up (Image1 and Image2).
And then, the shields (normal model and custom one) don't change position when blocking.
Here are the custom models:
shield.json :
{
"parent": "builtin/entity",
"textures": {
"layer0": "item/shield"
},
"overrides": [
{"predicate": {"custom_model_data":1000001}, "model": "item/celeste2a"}
]
}
shield_blocking.json :
{
"parent": "builtin/entity",
"textures": {
"layer0": "item/shield"
},
"overrides": [
{"predicate": {"custom_model_data":1000001}, "model": "item/celeste2b"}
]
}
celeste2a.json (Shield custom model) :
{
"__comment": "Designed by Neother with Cubik Studio - https://cubik.studio",
"textures": {
"particle": "block/anvil",
"texture": "block/iron_block",
"texture1": "block/gold_block",
"texture2": "block/light_blue_stained_glass"
},
"elements": [
{
"__comment": "Voxels",
"from": [ 2, 6, 9 ],
"to": [ 14, 10, 9.5 ],
"faces": {
"down": { "uv": [ 0, 0, 16, 1.5 ], "texture": "#texture" },
"up": { "uv": [ 0, 0, 16, 1.5 ], "texture": "#texture" },
"north": { "uv": [ 0, 5, 16, 11 ], "texture": "#texture" },
"south": { "uv": [ 0, 5, 16, 11 ], "texture": "#texture" },
"west": { "uv": [ 7.25, 5.25, 7.5, 7 ], "texture": "#texture" },
"east": { "uv": [ 7.25, 5.25, 7, 7 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 2.5, 8, 8.5 ],
"to": [ 14, 10, 9 ],
"faces": {
"down": { "uv": [ 5.5, 10.5, 11.25, 10.75 ], "texture": "#texture" },
"up": { "uv": [ 5.5, 10.5, 11.25, 10.25 ], "texture": "#texture" },
"north": { "uv": [ 0, 5, 15, 11 ], "texture": "#texture" },
"south": { "uv": [ 0, 5, 15, 11 ], "texture": "#texture" },
"west": { "uv": [ 6.75, 3.75, 7, 4.75 ], "texture": "#texture" },
"east": { "uv": [ 7.25, 3.75, 7, 4.75 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 2.5, 10, 8.5 ],
"to": [ 13.5, 11, 9.5 ],
"faces": {
"down": { "uv": [ 0, 9.75, 5.5, 10.25 ], "texture": "#texture" },
"up": { "uv": [ 0, 10.75, 5.5, 10.25 ], "texture": "#texture" },
"north": { "uv": [ 0, 3.5, 16, 4.5 ], "texture": "#texture" },
"south": { "uv": [ 0, 3.5, 16, 4.5 ], "texture": "#texture" },
"west": { "uv": [ 4, 5.75, 4.5, 6.25 ], "texture": "#texture" },
"east": { "uv": [ 5, 5.75, 4.5, 6.25 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 2.5, 5, 9 ],
"to": [ 13.5, 6, 9.5 ],
"faces": { "down": { "uv": [ 0, 9.75, 5.5, 10.25 ], "texture": "#texture" },
"up": { "uv": [ 0, 10.75, 5.5, 10.25 ], "texture": "#texture" },
"north": { "uv": [ 0, 11.5, 16, 12.5 ], "texture": "#texture" },
"south": { "uv": [ 0, 11.5, 16, 12.5 ], "texture": "#texture" },
"west": { "uv": [ 4, 5.75, 4.5, 6.25 ], "texture": "#texture" },
"east": { "uv": [ 5, 5.75, 4.5, 6.25 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 3, 11, 8.5 ],
"to": [ 13, 12, 9.5 ],
"faces": {
"down": { "uv": [ 11, 14, 16, 14.5 ], "texture": "#texture" },
"up": { "uv": [ 11, 16, 16, 15.5 ], "texture": "#texture" },
"north": { "uv": [ 0, 2.5, 16, 3.5 ], "texture": "#texture" },
"south": { "uv": [ 0, 2.5, 16, 3.5 ], "texture": "#texture" },
"west": { "uv": [ 4.5, 0.5, 5, 1 ], "texture": "#texture" },
"east": { "uv": [ 7, 4.75, 6.5, 5.25 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 3, 4, 9 ],
"to": [ 13, 5, 9.5 ],
"faces": {
"down": { "uv": [ 11, 14, 16, 14.5 ], "texture": "#texture" },
"up": { "uv": [ 11, 16, 16, 15.5 ], "texture": "#texture" },
"north": { "uv": [ 0, 12.5, 16, 13.5 ], "texture": "#texture" },
"south": { "uv": [ 0, 12.5, 16, 13.5 ], "texture": "#texture" },
"west": { "uv": [ 4.5, 0.5, 5, 1 ], "texture": "#texture" },
"east": { "uv": [ 7, 4.75, 6.5, 5.25 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 3.5, 12, 8.5 ],
"to": [ 12.5, 12.5, 9.5 ],
"faces": {
"down": { "uv": [ 11.5, 10.75, 16, 11.25 ], "texture": "#texture" },
"up": { "uv": [ 11.5, 13, 16, 12.5 ], "texture": "#texture" },
"north": { "uv": [ 0, 1.5, 16, 2 ], "texture": "#texture" },
"south": { "uv": [ 0, 1.5, 16, 2 ], "texture": "#texture" },
"west": { "uv": [ 7.75, 4, 8.25, 4.25 ], "texture": "#texture" },
"east": { "uv": [ 8.25, 4.25, 7.75, 4.5 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 4, 12.5, 8.5 ],
"to": [ 12, 13, 9.5 ],
"faces": {
"down": { "uv": [ 0, 6.25, 4, 6.75 ], "texture": "#texture" },
"up": { "uv": [ 0, 6.25, 4, 5.75 ], "texture": "#texture" },
"north": { "uv": [ 0, 1, 16, 1.5 ], "texture": "#texture" },
"south": { "uv": [ 0, 1, 16, 1.5 ], "texture": "#texture" },
"west": { "uv": [ 7.75, 3.25, 8.25, 3.5 ], "texture": "#texture" },
"east": { "uv": [ 7.5, 1.5, 7, 1.75 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 3.5, 3.5, 9 ],
"to": [ 12.5, 4, 9.5 ],
"faces": {
"down": { "uv": [ 5.5, 8.25, 9.5, 8.5 ], "texture": "#texture" },
"up": { "uv": [ 9.5, 8.5, 13.5, 8.25 ], "texture": "#texture" },
"north": { "uv": [ 0, 14, 16, 14.5 ], "texture": "#texture" },
"south": { "uv": [ 0, 14, 16, 14.5 ], "texture": "#texture" },
"west": { "uv": [ 7.75, 0, 8, 0.25 ], "texture": "#texture" },
"east": { "uv": [ 5.5, 4, 5.25, 4.25 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 5, 13, 8.5 ],
"to": [ 11, 13.5, 9.5 ],
"faces": {
"down": { "uv": [ 0, 4.75, 3, 5.25 ], "texture": "#texture" },
"up": { "uv": [ 0, 5.75, 3, 5.25 ], "texture": "#texture" },
"north": { "uv": [ 5, 1, 11, 1.5 ], "texture": "#texture" },
"south": { "uv": [ 5, 1, 11, 1.5 ], "texture": "#texture" },
"west": { "uv": [ 5, 3.25, 5.5, 3.5 ], "texture": "#texture" },
"east": { "uv": [ 5.5, 3, 5, 3.25 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 4, 3, 9 ],
"to": [ 12, 3.5, 9.5 ],
"faces": {
"down": { "uv": [ 10.75, 7.5, 14, 7.75 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 7.75, 10.75, 7.5 ], "texture": "#texture" },
"north": { "uv": [ 0, 14.5, 16, 15 ], "texture": "#texture" },
"south": { "uv": [ 0, 14.5, 16, 15 ], "texture": "#texture" },
"west": { "uv": [ 5.25, 1, 5.5, 1.25 ], "texture": "#texture" },
"east": { "uv": [ 16, 10.5, 15.75, 10.75 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 6, 2, 8.5 ],
"to": [ 10, 2.5, 9.5 ],
"faces": {
"down": { "uv": [ 3, 5.25, 5, 5.75 ], "texture": "#texture" },
"up": { "uv": [ 3, 5.25, 5, 4.75 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 2.5, 5.5, 2.75 ], "texture": "#texture" },
"south": { "uv": [ 5.5, 2.25, 7.5, 2.5 ], "texture": "#texture" },
"west": { "uv": [ 5.75, 0, 6.25, 0.25 ], "texture": "#texture" },
"east": { "uv": [ 7.5, 1, 7, 1.25 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 6, 13.5, 8.5 ],
"to": [ 10, 14, 9.5 ],
"faces": {
"down": { "uv": [ 5.5, 7.5, 7.5, 8 ], "texture": "#texture" },
"up": { "uv": [ 5.5, 7.5, 7.5, 7 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 1.75, 5.5, 2 ], "texture": "#texture" },
"south": { "uv": [ 5.5, 2, 7.5, 2.25 ], "texture": "#texture" },
"west": { "uv": [ 7, 0.5, 7.5, 0.75 ], "texture": "#texture" },
"east": { "uv": [ 7, 0.25, 6.5, 0.5 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 5, 2.5, 9 ],
"to": [ 11, 3, 9.5 ],
"faces": {
"down": { "uv": [ 13.5, 6.25, 15.75, 6.5 ], "texture": "#texture" },
"up": { "uv": [ 13.5, 7.25, 15.75, 7 ], "texture": "#texture" },
"north": { "uv": [ 5, 14.5, 11, 15 ], "texture": "#texture" },
"south": { "uv": [ 5, 14.5, 11, 15 ], "texture": "#texture" },
"west": { "uv": [ 8, 0, 8.25, 0.25 ], "texture": "#texture" },
"east": { "uv": [ 8.5, 6, 8.25, 6.25 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 9.5, 2.5, 8.5 ],
"to": [ 11, 3, 9 ],
"faces": {
"down": { "uv": [ 6.25, 3.5, 7, 3.75 ], "texture": "#texture" },
"up": { "uv": [ 6.25, 3.5, 7, 3.25 ], "texture": "#texture" },
"north": { "uv": [ 7, 3, 6.25, 3.25 ], "texture": "#texture" },
"south": { "uv": [ 6.25, 2.75, 7, 3 ], "texture": "#texture" },
"west": { "uv": [ 15.75, 10.25, 16, 10.5 ], "texture": "#texture" },
"east": { "uv": [ 16, 10, 15.75, 10.25 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 10.5, 3, 8.5 ],
"to": [ 12, 3.5, 9 ],
"faces": {
"down": { "uv": [ 5.5, 1.5, 6.25, 1.75 ], "texture": "#texture" },
"up": { "uv": [ 6.25, 1.75, 7, 1.5 ], "texture": "#texture" },
"north": { "uv": [ 6.25, 1.25, 5.5, 1.5 ], "texture": "#texture" },
"south": { "uv": [ 6.25, 1.25, 7, 1.5 ], "texture": "#texture" },
"west": { "uv": [ 15.75, 7, 16, 7.25 ], "texture": "#texture" },
"east": { "uv": [ 16, 6.75, 15.75, 7 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 11.5, 3.5, 8.5 ],
"to": [ 12.5, 4, 9 ],
"faces": {
"down": { "uv": [ 15.5, 7.5, 16, 7.75 ], "texture": "#texture" },
"up": { "uv": [ 7.75, 6.25, 8.25, 6 ], "texture": "#texture" },
"north": { "uv": [ 8.25, 3, 7.75, 3.25 ], "texture": "#texture" },
"south": { "uv": [ 7.75, 5.5, 8.25, 5.75 ], "texture": "#texture" },
"west": { "uv": [ 7.5, 1.5, 7.75, 1.75 ], "texture": "#texture" },
"east": { "uv": [ 7.75, 1.25, 7.5, 1.5 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 12, 4, 8.5 ],
"to": [ 13, 4.5, 9 ],
"faces": {
"down": { "uv": [ 7.75, 5.25, 8.25, 5.5 ], "texture": "#texture" },
"up": { "uv": [ 7.75, 5.25, 8.25, 5 ], "texture": "#texture" },
"north": { "uv": [ 8.25, 4.75, 7.75, 5 ], "texture": "#texture" },
"south": { "uv": [ 7.75, 4.5, 8.25, 4.75 ], "texture": "#texture" },
"west": { "uv": [ 7.5, 0, 7.75, 0.25 ], "texture": "#texture" },
"east": { "uv": [ 8, 2.75, 7.75, 3 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 12.5, 4.5, 8.5 ],
"to": [ 13, 5.5, 9 ],
"faces": {
"down": { "uv": [ 8, 2.75, 8.25, 3 ], "texture": "#texture" },
"up": { "uv": [ 7.75, 2.75, 8, 2.5 ], "texture": "#texture" },
"north": { "uv": [ 7.75, 4.75, 7.5, 5.25 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 4.25, 7.75, 4.75 ], "texture": "#texture" },
"west": { "uv": [ 7.5, 3.75, 7.75, 4.25 ], "texture": "#texture" },
"east": { "uv": [ 7.75, 3.25, 7.5, 3.75 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 13, 5, 8.5 ],
"to": [ 13.5, 6.5, 9 ],
"faces": {
"down": { "uv": [ 8, 2, 8.25, 2.25 ], "texture": "#texture" },
"up": { "uv": [ 7.75, 2, 8, 1.75 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 4, 7.25, 4.75 ], "texture": "#texture" },
"south": { "uv": [ 5.5, 0.25, 5.75, 1 ], "texture": "#texture" },
"west": { "uv": [ 5.75, 0.25, 6, 1 ], "texture": "#texture" },
"east": { "uv": [ 6.25, 0.25, 6, 1 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 13.5, 6, 8.5 ],
"to": [ 14, 8, 9 ],
"faces": {
"down": { "uv": [ 8, 0.5, 8.25, 0.75 ], "texture": "#texture" },
"up": { "uv": [ 7.75, 0.5, 8, 0.25 ], "texture": "#texture" },
"north": { "uv": [ 6.25, 2.75, 6, 3.75 ], "texture": "#texture" },
"south": { "uv": [ 6.25, 3.75, 6.5, 4.75 ], "texture": "#texture" },
"west": { "uv": [ 6.5, 3.75, 6.75, 4.75 ], "texture": "#texture" },
"east": { "uv": [ 6.25, 3.75, 6, 4.75 ], "texture": "#texture" }
}
},
{
"__comment": "Voxels",
"from": [ 2.5, 5.5, 8 ],
"to": [ 13.5, 10.5, 8.5 ],
"faces": {
"down": { "uv": [ 0, 4.25, 5.5, 4.5 ], "texture": "#texture1" },
"up": { "uv": [ 0, 4.75, 5.5, 4.5 ], "texture": "#texture1" },
"north": { "uv": [ 0.5, 5, 15.5, 11 ], "texture": "#texture1" },
"south": { "uv": [ 0, 5, 16, 11 ], "texture": "#texture1" },
"west": { "uv": [ 5.5, 2.75, 5.75, 5.25 ], "texture": "#texture1" },
"east": { "uv": [ 6, 2.75, 5.75, 5.25 ], "texture": "#texture1" }
}
},
{
"__comment": "Voxels",
"from": [ 3, 5, 8 ],
"to": [ 13, 5.5, 8.5 ],
"faces": {
"down": { "uv": [ 0, 3.5, 5, 3.75 ], "texture": "#texture1" },
"up": { "uv": [ 0, 3.5, 5, 3.25 ], "texture": "#texture1" },
"north": { "uv": [ 1.5, 11, 14.5, 11.5 ], "texture": "#texture1" },
"south": { "uv": [ 1.5, 11, 14.5, 11.5 ], "texture": "#texture1" },
"west": { "uv": [ 8, 2.25, 8.25, 2.5 ], "texture": "#texture1" },
"east": { "uv": [ 8, 2, 7.75, 2.25 ], "texture": "#texture1" }
}
},
{
"__comment": "Voxels",
"from": [ 3, 10.5, 8 ],
"to": [ 13, 11, 8.5 ],
"faces": {
"down": { "uv": [ 0, 3.5, 5, 3.75 ], "texture": "#texture1" },
"up": { "uv": [ 0, 3.5, 5, 3.25 ], "texture": "#texture1" },
"north": { "uv": [ 1.5, 4.5, 14.5, 5 ], "texture": "#texture1" },
"south": { "uv": [ 1.5, 4.5, 14.5, 5 ], "texture": "#texture1" },
"west": { "uv": [ 8, 2.25, 8.25, 2.5 ], "texture": "#texture1" },
"east": { "uv": [ 8, 2, 7.75, 2.25 ], "texture": "#texture1" }
}
},
{
"__comment": "Voxels",
"from": [ 3.5, 4, 8 ],
"to": [ 12.5, 5, 8.5 ],
"faces": {
"down": { "uv": [ 11.25, 10.5, 15.75, 10.75 ], "texture": "#texture1" },
"up": { "uv": [ 11.25, 10.5, 15.75, 10.25 ], "texture": "#texture1" },
"north": { "uv": [ 2, 11.5, 14, 12.5 ], "texture": "#texture1" },
"south": { "uv": [ 0, 11, 16, 13.5 ], "texture": "#texture1" },
"west": { "uv": [ 7.25, 2.75, 7.5, 3.25 ], "texture": "#texture1" },
"east": { "uv": [ 7.25, 2.75, 7, 3.25 ], "texture": "#texture1" }
}
},
{
"__comment": "Voxels",
"from": [ 3.5, 11, 8 ],
"to": [ 12.5, 12, 8.5 ],
"faces": {
"down": { "uv": [ 11.25, 10.5, 15.75, 10.75 ], "texture": "#texture1" },
"up": { "uv": [ 11.25, 10.5, 15.75, 10.25 ], "texture": "#texture1" },
"north": { "uv": [ 2, 3.5, 14, 4.5 ], "texture": "#texture1" },
"south": { "uv": [ 0, 11, 16, 13.5 ], "texture": "#texture1" },
"west": { "uv": [ 7.25, 2.75, 7.5, 3.25 ], "texture": "#texture1" },
"east": { "uv": [ 7.25, 2.75, 7, 3.25 ], "texture": "#texture1" }
}
},
{
"__comment": "Voxels",
"from": [ 4, 3.5, 8 ],
"to": [ 12, 4, 8.5 ],
"faces": {
"down": { "uv": [ 5.5, 9.5, 9.5, 9.75 ], "texture": "#texture1" },
"up": { "uv": [ 9.5, 9.75, 13.5, 9.5 ], "texture": "#texture1" },
"north": { "uv": [ 2.5, 12.5, 13.5, 13 ], "texture": "#texture1" },
"south": { "uv": [ 2.5, 12.5, 13.5, 13 ], "texture": "#texture1" },
"west": { "uv": [ 7.5, 2, 7.75, 2.25 ], "texture": "#texture1" },
"east": { "uv": [ 6.5, 0, 6.25, 0.25 ], "texture": "#texture1" }
}
},
{
"__comment": "Voxels",
"from": [ 4, 12, 8 ],
"to": [ 12, 12.5, 8.5 ],
"faces": {
"down": { "uv": [ 5.5, 9, 9.5, 9.25 ], "texture": "#texture1" },
"up": { "uv": [ 9.5, 9.25, 13.5, 9 ], "texture": "#texture1" },
"north": { "uv": [ 2.5, 3, 13.5, 3.5 ], "texture": "#texture1" },
"south": { "uv": [ 2.5, 3, 13.5, 3.5 ], "texture": "#texture1" },
"west": { "uv": [ 7.5, 1.75, 7.75, 2 ], "texture": "#texture1" },
"east": { "uv": [ 8.25, 0.25, 8, 0.5 ], "texture": "#texture1" }
}
},
{
"__comment": "Voxels",
"from": [ 5, 3, 8 ],
"to": [ 11, 3.5, 8.5 ],
"faces": {
"down": { "uv": [ 10.5, 6.25, 13.5, 6.5 ], "texture": "#texture1" },
"up": { "uv": [ 7.5, 7.5, 10.5, 7.25 ], "texture": "#texture1" },
"north": { "uv": [ 3.5, 13, 12.5, 13.5 ], "texture": "#texture1" },
"south": { "uv": [ 3.5, 13, 12.5, 13.5 ], "texture": "#texture1" },
"west": { "uv": [ 5.25, 3.75, 5.5, 4 ], "texture": "#texture1" },
"east": { "uv": [ 16, 9.75, 15.75, 10 ], "texture": "#texture1" }
}
},
{
"__comment": "Voxels",
"from": [ 5, 12.5, 8 ],
"to": [ 11, 13, 8.5 ],
"faces": {
"down": { "uv": [ 7.5, 7, 10.5, 7.25 ], "texture": "#texture1" },
"up": { "uv": [ 7.5, 6.5, 10.5, 6.25 ], "texture": "#texture1" },
"north": { "uv": [ 3.5, 2.5, 12.5, 3 ], "texture": "#texture1" },
"south": { "uv": [ 3.5, 2.5, 12.5, 3 ], "texture": "#texture1" },
"west": { "uv": [ 7.25, 3.75, 7.5, 4 ], "texture": "#texture1" },
"east": { "uv": [ 5.75, 0, 5.5, 0.25 ], "texture": "#texture1" }
}
},
{
"__comment": "Voxels",
"from": [ 5.5, 2.5, 8 ],
"to": [ 10.5, 3, 8.5 ],
"faces": {
"down": { "uv": [ 13.5, 8.5, 16, 8.75 ], "texture": "#texture1" },
"up": { "uv": [ 13.5, 9.25, 16, 9 ], "texture": "#texture1" },
"north": { "uv": [ 4, 13.5, 12, 14 ], "texture": "#texture1" },
"south": { "uv": [ 4, 13.5, 12, 14 ], "texture": "#texture1" },
"west": { "uv": [ 8, 1.5, 8.25, 1.75 ], "texture": "#texture1" },
"east": { "uv": [ 8, 1.25, 7.75, 1.5 ], "texture": "#texture1" }
}
},
{
"__comment": "Voxels",
"from": [ 5.5, 13, 8 ],
"to": [ 10.5, 13.5, 8.5 ],
"faces": {
"down": { "uv": [ 13.5, 9.5, 16, 9.75 ], "texture": "#texture1" },
"up": { "uv": [ 13.5, 8.5, 16, 8.25 ], "texture": "#texture1" },
"north": { "uv": [ 4, 2, 12, 2.5 ], "texture": "#texture1" },
"south": { "uv": [ 4, 2, 12, 2.5 ], "texture": "#texture1" },
"west": { "uv": [ 15.75, 6.5, 16, 6.75 ], "texture": "#texture1" },
"east": { "uv": [ 16, 6.25, 15.75, 6.5 ], "texture": "#texture1" }
}
},
{
"__comment": "Box45",
"from": [ 7, 6, 9.5 ],
"to": [ 9, 6.5, 11.5 ],
"faces": {
"down": { "uv": [ 7, 4.5, 9, 6.5 ], "texture": "#particle" },
"up": { "uv": [ 7, 9.5, 9, 11.5 ], "texture": "#particle" },
"north": { "uv": [ 7, 9.5, 9, 10 ], "texture": "#particle" },
"south": { "uv": [ 7, 9.5, 9, 10 ], "texture": "#particle" },
"west": { "uv": [ 9.5, 9.5, 11.5, 10 ], "texture": "#particle" },
"east": { "uv": [ 4.5, 9.5, 6.5, 10 ], "texture": "#particle" }
}
},
{
"__comment": "Box45",
"from": [ 7, 9, 9.5 ],
"to": [ 9, 9.5, 11.5 ],
"faces": {
"down": { "uv": [ 7, 4.5, 9, 6.5 ], "texture": "#particle" },
"up": { "uv": [ 7, 9.5, 9, 11.5 ], "texture": "#particle" },
"north": { "uv": [ 7, 6.5, 9, 7 ], "texture": "#particle" },
"south": { "uv": [ 7, 6.5, 9, 7 ], "texture": "#particle" },
"west": { "uv": [ 9.5, 6.5, 11.5, 7 ], "texture": "#particle" },
"east": { "uv": [ 4.5, 6.5, 6.5, 7 ], "texture": "#particle" }
}
},
{
"__comment": "Box47",
"from": [ 7, 6, 11.5 ],
"to": [ 9, 9.5, 12 ],
"faces": {
"down": { "uv": [ 7, 4, 9, 4.5 ], "texture": "#particle" },
"up": { "uv": [ 7, 11.5, 9, 12 ], "texture": "#particle" },
"north": { "uv": [ 7, 6.5, 9, 10 ], "texture": "#particle" },
"south": { "uv": [ 7, 6.5, 9, 10 ], "texture": "#particle" },
"west": { "uv": [ 11.5, 6.5, 12, 10 ], "texture": "#particle" },
"east": { "uv": [ 4, 6.5, 4.5, 10 ], "texture": "#particle" }
}
},
{
"__comment": "Box48",
"from": [ 8, 5, 7.5 ],
"to": [ 12, 9, 8 ],
"rotation": {"origin": [ 8, 5, 7.5 ], "axis": "z", "angle": 45 },
"faces": {
"down": { "uv": [ 5.5, 15.5, 9.5, 16 ], "texture": "#texture2" },
"up": { "uv": [ 6, 0, 10, 0.5 ], "texture": "#texture2" },
"north": { "uv": [ 6, 10.5, 10, 14.5 ], "texture": "#texture2" },
"south": { "uv": [ 6, 10.5, 10, 14.5 ], "texture": "#texture2" },
"west": { "uv": [ 0, 7.5, 0.5, 11.5 ], "texture": "#texture2" },
"east": { "uv": [ 15.5, 7, 16, 11 ], "texture": "#texture2" }
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [ 0, -90, 0 ],
"translation": [ 4, 0, 2.7826 ],
"scale": [ 1.5, 1.5, 1.5 ]
},
"thirdperson_lefthand": {
"rotation": [ 0, -90, 0 ],
"translation": [ 4, -2.304, 2.7826 ],
"scale": [ 1.5, 1.5, 1.5 ]
},
"firstperson_righthand": {
"translation": [ 0.0009, -2.781, 0 ],
"scale": [ 1.5, 1.5, 1.5 ]
},
"firstperson_lefthand": {
"translation": [ 0.0009, -2.781, 0 ],
"scale": [ 1.5, 1.5, 1.5 ]
},
"gui": {
"rotation": [ 0, 180, 0 ]
},
"head": {
"rotation": [ -90, 180, 0 ],
"translation": [ 0, 10.434, 0 ],
"scale": [ 2.5, 2.5, 2.5 ]
},
"ground": {
"rotation": [ 90, 0, 0 ],
"scale": [ 2, 2, 2 ]
},
"fixed": {
"translation": [ 0, 0, -3.478 ],
"scale": [ 3, 3, 3 ]
}
}, "overrides": [
{
"predicate": {
"lefthanded": 1
},
"model": "item/celeste2a"
},
{
"predicate": {
"blocking": 1
},
"model": "item/celeste2b"
}
]
}
celeste2b.json (Shield custom model when blocking) :
Basically the same thing except for the last bit:
"display": {
"thirdperson_righthand": {
"rotation": [ 0, -90, 0 ],
"translation": [ 4, 0, 2.7826 ],
"scale": [ 1.5, 1.5, 1.5 ]
},
"thirdperson_lefthand": {
"rotation": [ 0, -90, 0 ],
"translation": [ 4, -2.304, 2.7826 ],
"scale": [ 1.5, 1.5, 1.5 ]
},
"firstperson_righthand": {
"translation": [ -4.173, -0.695, 0 ],
"scale": [ 1.5, 1.5, 1.5 ]
},
"firstperson_lefthand": {
"translation": [ -4.173, -0.695, 0 ],
"scale": [ 1.5, 1.5, 1.5 ]
},
"gui": {
"rotation": [ 0, 180, 0 ]
},
"head": {
"rotation": [ -90, 180, 0 ],
"translation": [ 0, 10.434, 0 ],
"scale": [ 2.5, 2.5, 2.5 ]
},
"ground": {
"rotation": [ 90, 0, 0 ],
"scale": [ 2, 2, 2 ]
},
"fixed": {
"translation": [ 0, 0, -3.478 ],
"scale": [ 3, 3, 3 ]
}
}
}