mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
Fixed parasprites missing a wing
This commit is contained in:
parent
09f68b0e3f
commit
4748c7e5af
2 changed files with 25 additions and 26 deletions
|
@ -18,7 +18,7 @@ public class ParaspriteModel extends EntityModel<StriderEntity> {
|
|||
public ParaspriteModel(ModelPart tree) {
|
||||
super(RenderLayer::getEntityTranslucent);
|
||||
child = false;
|
||||
body = tree.getChild("body");
|
||||
body = tree;
|
||||
saddle = tree.getChild("saddle");
|
||||
leftWing = tree.getChild("leftWing");
|
||||
rightWing = tree.getChild("rightWing");
|
||||
|
@ -45,6 +45,7 @@ public class ParaspriteModel extends EntityModel<StriderEntity> {
|
|||
float sin = (float)Math.sin(ticks) / 2;
|
||||
float cos = (float)Math.cos(ticks) / 3;
|
||||
|
||||
leftWing.visible = true;
|
||||
leftWing.roll = 0.5F + cos;
|
||||
leftWing.yaw = 0.5F - sin;
|
||||
|
||||
|
|
|
@ -6,33 +6,31 @@
|
|||
"center": [-4, -4, -4],
|
||||
"cubes": [
|
||||
{"from": [0, 0, 0], "size": [8, 8, 8] }
|
||||
],
|
||||
"children": [
|
||||
]
|
||||
},
|
||||
"leftWing": {
|
||||
"name": "leftWing",
|
||||
"center": [0, -2, 4],
|
||||
"texture": {"u": 48, "v": 0},
|
||||
"cubes": [
|
||||
{
|
||||
"name": "leftWing",
|
||||
"center": [4, 2, 8],
|
||||
"texture": {"u": 32, "v": 0},
|
||||
"cubes": [
|
||||
{
|
||||
"type": "mson:plane",
|
||||
"face": "east",
|
||||
"position": [0, -16, 0],
|
||||
"size": [ 16, 16 ]
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": "mson:plane",
|
||||
"face": "west",
|
||||
"position": [0, -16, 0],
|
||||
"size": [ 16, 16 ]
|
||||
}
|
||||
]
|
||||
},
|
||||
"rightWing": {
|
||||
"name": "rightWing",
|
||||
"center": [0, -2, 4],
|
||||
"texture": {"u": 48, "v": 0},
|
||||
"cubes": [
|
||||
{
|
||||
"name": "rightWing",
|
||||
"center": [4, 2, 8],
|
||||
"texture": {"u": 48, "v": 0},
|
||||
"cubes": [
|
||||
{
|
||||
"type": "mson:plane",
|
||||
"face": "west",
|
||||
"position": [0, -16, 0],
|
||||
"size": [ 16, 16 ]
|
||||
}
|
||||
]
|
||||
"type": "mson:plane",
|
||||
"face": "west",
|
||||
"position": [0, -16, 0],
|
||||
"size": [ 16, 16 ]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue