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) {
|
||||||
return event.setAndContinue(
|
if(event.isMoving())
|
||||||
RawAnimation.begin().thenLoop("animation.FM-Penguin.new")
|
return event.setAndContinue(
|
||||||
);
|
RawAnimation.begin().thenLoop("animation.baby_emperor.walk")
|
||||||
|
);
|
||||||
|
|
||||||
|
return PlayState.STOP;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -1,53 +1,106 @@
|
||||||
{
|
{
|
||||||
"format_version": "1.8.0",
|
"format_version": "1.8.0",
|
||||||
"animations": {
|
"animations": {
|
||||||
"animation.FM-Penguin.new": {
|
"animation.FM-Penguin.new": {
|
||||||
"animation_length": 1.75,
|
"animation_length": 1.75,
|
||||||
"bones": {
|
"bones": {
|
||||||
"RightArm": {
|
"RightArm": {
|
||||||
"rotation": {
|
"rotation": {
|
||||||
"0.0": {
|
"0.0": {
|
||||||
"vector": [0, 0, 0]
|
"vector": [0, 0, 0]
|
||||||
},
|
},
|
||||||
"0.5": {
|
"0.5": {
|
||||||
"vector": [0, 0, 0],
|
"vector": [0, 0, 0],
|
||||||
"easing": "easeInBack"
|
"easing": "easeInBack"
|
||||||
},
|
},
|
||||||
"1.0": {
|
"1.0": {
|
||||||
"vector": [0, 0, -30],
|
"vector": [0, 0, -30],
|
||||||
"easing": "easeInBack"
|
"easing": "easeInBack"
|
||||||
},
|
},
|
||||||
"1.5": {
|
"1.5": {
|
||||||
"vector": [0, 0, 5],
|
"vector": [0, 0, 5],
|
||||||
"easing": "easeInBack"
|
"easing": "easeInBack"
|
||||||
},
|
},
|
||||||
"1.75": {
|
"1.75": {
|
||||||
"vector": [0, 0, 0],
|
"vector": [0, 0, 0],
|
||||||
"easing": "easeInBack"
|
"easing": "easeInBack"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"LeftArm": {
|
"LeftArm": {
|
||||||
"rotation": {
|
"rotation": {
|
||||||
"0.0": {
|
"0.0": {
|
||||||
"vector": [0, 0, 0]
|
"vector": [0, 0, 0]
|
||||||
},
|
},
|
||||||
"0.5": {
|
"0.5": {
|
||||||
"vector": [0, 0, 25],
|
"vector": [0, 0, 25],
|
||||||
"easing": "easeInBack"
|
"easing": "easeInBack"
|
||||||
},
|
},
|
||||||
"1.0": {
|
"1.0": {
|
||||||
"vector": [0, 0, -5],
|
"vector": [0, 0, -5],
|
||||||
"easing": "easeInBack"
|
"easing": "easeInBack"
|
||||||
},
|
},
|
||||||
"1.25": {
|
"1.25": {
|
||||||
"vector": [0, 0, 0],
|
"vector": [0, 0, 0],
|
||||||
"easing": "easeInBack"
|
"easing": "easeInBack"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
},
|
"animation.baby_emperor.walk": {
|
||||||
"geckolib_format_version": 2
|
"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
|
||||||
}
|
}
|
|
@ -1,79 +1,88 @@
|
||||||
{
|
{
|
||||||
"format_version": "1.12.0",
|
"format_version": "1.12.0",
|
||||||
"minecraft:geometry": [
|
"minecraft:geometry": [
|
||||||
{
|
{
|
||||||
"description": {
|
"description": {
|
||||||
"identifier": "geometry.Arctic-Penguin-BabyEmperor",
|
"identifier": "geometry.Arctic-Penguin-BabyEmperor",
|
||||||
"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": "Beak",
|
||||||
"name": "Foots",
|
"parent": "Head",
|
||||||
"pivot": [0, 0, 0]
|
"pivot": [0, 11.6, -2],
|
||||||
},
|
"cubes": [
|
||||||
{
|
{"origin": [-1, 11.35, -4], "size": [2, 1, 2], "pivot": [0, 11.6, -2], "rotation": [7.5, 0, 0], "uv": [22, 3]}
|
||||||
"name": "LeftFoot",
|
]
|
||||||
"parent": "Foots",
|
},
|
||||||
"pivot": [0, 0, 0],
|
{
|
||||||
"cubes": [
|
"name": "BodyAll",
|
||||||
{"origin": [0.5, 0, -3.75], "size": [3, 1, 6], "pivot": [0, 0, 0], "rotation": [2.5, -2.5, 0], "uv": [0, 28]}
|
"pivot": [0, 5.5, 0],
|
||||||
]
|
"cubes": [
|
||||||
},
|
{"origin": [-4, 0.5, -3], "size": [8, 10, 6], "uv": [0, 0]}
|
||||||
{
|
]
|
||||||
"name": "RightFoot",
|
},
|
||||||
"parent": "Foots",
|
{
|
||||||
"pivot": [0, 0, 0],
|
"name": "Tail",
|
||||||
"cubes": [
|
"parent": "BodyAll",
|
||||||
{"origin": [-3.5, 0, -3.75], "size": [3, 1, 6], "pivot": [0, 0, 0], "rotation": [2.5, 2.5, 0], "uv": [28, 0]}
|
"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": "Tail",
|
},
|
||||||
"pivot": [0, 0.5, 2.5],
|
{
|
||||||
"cubes": [
|
"name": "Arms",
|
||||||
{"origin": [-1.5, 0.5, 2.5], "size": [3, 1, 2], "pivot": [0, 0.5, 2.5], "rotation": [-5, 0, 0], "uv": [22, 0]}
|
"parent": "BodyAll",
|
||||||
]
|
"pivot": [-4, 10.5, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Beak",
|
"name": "RightArm",
|
||||||
"pivot": [0, 11.6, -2],
|
"parent": "Arms",
|
||||||
"cubes": [
|
"pivot": [4, 10.5, 0],
|
||||||
{"origin": [-1, 11.35, -4], "size": [2, 1, 2], "pivot": [0, 11.6, -2], "rotation": [7.5, 0, 0], "uv": [22, 3]}
|
"cubes": [
|
||||||
]
|
{"origin": [3.25, 2.2, -2.75], "size": [1, 8.25, 5.5], "pivot": [4, 10.5, 0], "rotation": [0, 0, -5], "uv": [24, 11]}
|
||||||
},
|
]
|
||||||
{
|
},
|
||||||
"name": "Arms",
|
{
|
||||||
"pivot": [-4, 10.5, 0]
|
"name": "LeftArm",
|
||||||
},
|
"parent": "Arms",
|
||||||
{
|
"pivot": [-4, 10.5, 0],
|
||||||
"name": "RightArm",
|
"cubes": [
|
||||||
"parent": "Arms",
|
{"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]}
|
||||||
"pivot": [4, 10.5, 0],
|
]
|
||||||
"cubes": [
|
},
|
||||||
{"origin": [3.25, 2.2, -2.75], "size": [1, 8.25, 5.5], "pivot": [4, 10.5, 0], "rotation": [0, 0, -5], "uv": [24, 11]}
|
{
|
||||||
]
|
"name": "Feet",
|
||||||
},
|
"pivot": [0, 0, 0]
|
||||||
{
|
},
|
||||||
"name": "LeftArm",
|
{
|
||||||
"parent": "Arms",
|
"name": "LeftFoot",
|
||||||
"pivot": [-4, 10.5, 0],
|
"parent": "Feet",
|
||||||
"cubes": [
|
"pivot": [0, 0, 0],
|
||||||
{"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]}
|
"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