feat: update penguin
This commit is contained in:
parent
5d8d160f98
commit
054ece497f
|
@ -46,9 +46,12 @@ public class BabyEmperorEntity extends AnimalEntity implements GeoEntity {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected <E extends BabyEmperorEntity> PlayState predicate(final AnimationState<E> event) {
|
protected <E extends BabyEmperorEntity> PlayState predicate(final AnimationState<E> event) {
|
||||||
|
if(event.isMoving())
|
||||||
return event.setAndContinue(
|
return event.setAndContinue(
|
||||||
RawAnimation.begin().thenLoop("animation.FM-Penguin.new")
|
RawAnimation.begin().thenLoop("animation.baby_emperor.walk")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
return PlayState.STOP;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -47,6 +47,59 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"animation.baby_emperor.walk": {
|
||||||
|
"animation_length": 0.83333,
|
||||||
|
"bones": {
|
||||||
|
"LeftFoot": {
|
||||||
|
"rotation": {
|
||||||
|
"0.0": {
|
||||||
|
"vector": [0, 0, 0]
|
||||||
|
},
|
||||||
|
"0.0833": {
|
||||||
|
"vector": [-5, 0, 0]
|
||||||
|
},
|
||||||
|
"0.3333": {
|
||||||
|
"vector": [0, 0, 0]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"position": {
|
||||||
|
"0.0": {
|
||||||
|
"vector": [0, 0, 0]
|
||||||
|
},
|
||||||
|
"0.1667": {
|
||||||
|
"vector": [0, 0, -0.5]
|
||||||
|
},
|
||||||
|
"0.4167": {
|
||||||
|
"vector": [0, 0, 0]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"RightFoot": {
|
||||||
|
"rotation": {
|
||||||
|
"0.4167": {
|
||||||
|
"vector": [0, 0, 0]
|
||||||
|
},
|
||||||
|
"0.5": {
|
||||||
|
"vector": [-5, 0, 0]
|
||||||
|
},
|
||||||
|
"0.75": {
|
||||||
|
"vector": [0, 0, 0]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"position": {
|
||||||
|
"0.4167": {
|
||||||
|
"vector": [0, 0, 0]
|
||||||
|
},
|
||||||
|
"0.5833": {
|
||||||
|
"vector": [0, 0, -0.5]
|
||||||
|
},
|
||||||
|
"0.8333": {
|
||||||
|
"vector": [0, 0, 0]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"geckolib_format_version": 2
|
"geckolib_format_version": 2
|
||||||
|
|
|
@ -7,54 +7,43 @@
|
||||||
"texture_width": 64,
|
"texture_width": 64,
|
||||||
"texture_height": 64,
|
"texture_height": 64,
|
||||||
"visible_bounds_width": 2,
|
"visible_bounds_width": 2,
|
||||||
"visible_bounds_height": 2.5,
|
"visible_bounds_height": 3.5,
|
||||||
"visible_bounds_offset": [0, 0.75, 0]
|
"visible_bounds_offset": [0, 1.25, 0]
|
||||||
},
|
},
|
||||||
"bones": [
|
"bones": [
|
||||||
{
|
{
|
||||||
"name": "bb_main",
|
"name": "Head",
|
||||||
"pivot": [0, 0, 0],
|
"pivot": [0, 0, 0],
|
||||||
"cubes": [
|
"cubes": [
|
||||||
{"origin": [-4, 0.5, -3], "size": [8, 10, 6], "uv": [0, 0]},
|
|
||||||
{"origin": [-3, 10.5, -2.75], "size": [6, 5, 5.5], "uv": [0, 16]}
|
{"origin": [-3, 10.5, -2.75], "size": [6, 5, 5.5], "uv": [0, 16]}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Foots",
|
|
||||||
"pivot": [0, 0, 0]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "LeftFoot",
|
|
||||||
"parent": "Foots",
|
|
||||||
"pivot": [0, 0, 0],
|
|
||||||
"cubes": [
|
|
||||||
{"origin": [0.5, 0, -3.75], "size": [3, 1, 6], "pivot": [0, 0, 0], "rotation": [2.5, -2.5, 0], "uv": [0, 28]}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "RightFoot",
|
|
||||||
"parent": "Foots",
|
|
||||||
"pivot": [0, 0, 0],
|
|
||||||
"cubes": [
|
|
||||||
{"origin": [-3.5, 0, -3.75], "size": [3, 1, 6], "pivot": [0, 0, 0], "rotation": [2.5, 2.5, 0], "uv": [28, 0]}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Tail",
|
|
||||||
"pivot": [0, 0.5, 2.5],
|
|
||||||
"cubes": [
|
|
||||||
{"origin": [-1.5, 0.5, 2.5], "size": [3, 1, 2], "pivot": [0, 0.5, 2.5], "rotation": [-5, 0, 0], "uv": [22, 0]}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Beak",
|
"name": "Beak",
|
||||||
|
"parent": "Head",
|
||||||
"pivot": [0, 11.6, -2],
|
"pivot": [0, 11.6, -2],
|
||||||
"cubes": [
|
"cubes": [
|
||||||
{"origin": [-1, 11.35, -4], "size": [2, 1, 2], "pivot": [0, 11.6, -2], "rotation": [7.5, 0, 0], "uv": [22, 3]}
|
{"origin": [-1, 11.35, -4], "size": [2, 1, 2], "pivot": [0, 11.6, -2], "rotation": [7.5, 0, 0], "uv": [22, 3]}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "BodyAll",
|
||||||
|
"pivot": [0, 5.5, 0],
|
||||||
|
"cubes": [
|
||||||
|
{"origin": [-4, 0.5, -3], "size": [8, 10, 6], "uv": [0, 0]}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Tail",
|
||||||
|
"parent": "BodyAll",
|
||||||
|
"pivot": [0, 0.5, 2.5],
|
||||||
|
"cubes": [
|
||||||
|
{"origin": [-1.5, 0.5, 2.5], "size": [3, 1, 2], "pivot": [0, 0.5, 2.5], "rotation": [-5, 0, 0], "uv": [22, 0]}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Arms",
|
"name": "Arms",
|
||||||
|
"parent": "BodyAll",
|
||||||
"pivot": [-4, 10.5, 0]
|
"pivot": [-4, 10.5, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -72,6 +61,26 @@
|
||||||
"cubes": [
|
"cubes": [
|
||||||
{"origin": [-4.25, 2.2, -2.75], "size": [1, 8.25, 5.5], "pivot": [-4, 10.5, 0], "rotation": [0, 0, 5], "uv": [17, 21]}
|
{"origin": [-4.25, 2.2, -2.75], "size": [1, 8.25, 5.5], "pivot": [-4, 10.5, 0], "rotation": [0, 0, 5], "uv": [17, 21]}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Feet",
|
||||||
|
"pivot": [0, 0, 0]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "LeftFoot",
|
||||||
|
"parent": "Feet",
|
||||||
|
"pivot": [0, 0, 0],
|
||||||
|
"cubes": [
|
||||||
|
{"origin": [0.5, 0, -3.75], "size": [3, 1, 6], "pivot": [0, 0, 0], "rotation": [2.5, -2.5, 0], "uv": [0, 28]}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RightFoot",
|
||||||
|
"parent": "Feet",
|
||||||
|
"pivot": [0, 0, 0],
|
||||||
|
"cubes": [
|
||||||
|
{"origin": [-3.5, 0, -3.75], "size": [3, 1, 6], "pivot": [0, 0, 0], "rotation": [2.5, 2.5, 0], "uv": [28, 0]}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 166 KiB |
Loading…
Reference in a new issue