Fixed Breezies having multiple heads

This commit is contained in:
Sollace 2022-06-12 00:39:22 +02:00
parent f3da48b42f
commit b867dc657c
3 changed files with 13 additions and 11 deletions

View file

@ -43,6 +43,8 @@ public class BreezieModel<T extends LivingEntity> extends BipedEntityModel<T> {
head.yaw = headYaw * 0.017453292F;
head.pitch = headPitch * 0.017453292F;
hat.copyTransform(head);
leftArm.pitch = MathHelper.cos(move * 0.6662F) * swing;
leftArm.roll = 0;

View file

@ -18,16 +18,14 @@
},
"data": {
"head": {
"children": {
"head_parts": {
"pivot": [0, 0, -4],
"pivot": [0, 1, -4],
"cubes": [
{"from": [-3, -6, -3], "size": [6, 6, 6] },
{"from": [ 2, -7, 1], "size": [1, 1, 1], "texture": {"u": 28, "v": 0} },
{"from": [-3, -7, 1], "size": [1, 1, 1], "texture": {"u": 24, "v": 0} },
{"from": [-1, -2, -4], "size": [2, 2, 1], "texture": {"u": 24, "v": 9} }
]
},
],
"children": {
"antennas": {
"rotate": [-15, 0, 0],
"cubes": [
@ -38,11 +36,13 @@
}
},
"hat": {
"texture": { "u": 40, "v": 27 },
"pivot": [0, 1, -4],
"children": {
"hat_parts": {
"pivot": [0, 0, -4],
"pivot": [0, 2, 0],
"cubes": [
{"from": [-3, -6, -3], "size": [6, 6, 6] }
{"from": [-3, -8, -3], "size": [6, 6, 6], "dilate": 0.2 }
]
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB