Bedrock Snippets

Beginner's Guide

View Source

guide > rp > animations > ghost.animations.json

{
    "format_version": "1.8.0",
    "animations": {
        "animation.ghost.idle": {
            "loop": true,
            "animation_length": 3,
            "bones": {
                "body": {
                    "rotation": {
                        "0.0": [10, 0, 0],
                        "3.0": [10, 0, 0]
                    },
                    "position": {
                        "0.0": [0, 0, 0],
                        "1.5": [0, 1, 0],
                        "3.0": [0, 0, 0]
                    }
                },
                "leftArm": {
                    "rotation": {
                        "0.0": [-10, 0, 0],
                        "1.5": [-5, 0, 0],
                        "3.0": [-10, 0, 0]
                    }
                },
                "rightArm": {
                    "rotation": {
                        "0.0": [-10, 0, 0],
                        "1.5": [-5, 0, 0],
                        "3.0": [-10, 0, 0]
                    }
                },
                "head": {
                    "rotation": {
                        "0.0": [-7.5, 0, 0],
                        "1.5": [-2.5, 0, 0],
                        "3.0": [-7.5, 0, 0]
                    }
                }
            }
        },
        "animation.ghost.attack": {
            "animation_length": 0.75,
            "bones": {
                "body": {
                    "rotation": {
                        "0.0": [10, 0, 0],
                        "0.2917": [10, 15, 0],
                        "0.5": [22.5, -12.5, 0],
                        "0.75": [10, 0, 0]
                    },
                    "position": {
                        "0.0": [0, 0, 0],
                        "0.2917": [0, 0, 3],
                        "0.5": [0, 0, -3],
                        "0.75": [0, 0, 0]
                    }
                },
                "leftArm": {
                    "rotation": {
                        "0.0": [-10, 0, 0],
                        "0.75": [-10, 0, 0]
                    }
                },
                "rightArm": {
                    "rotation": {
                        "0.0": [-10, 0, 0],
                        "0.2083": [-10, 0, 0],
                        "0.2917": [-10, 62.5, 117.5],
                        "0.5": [-80, -17.5, 22.5],
                        "0.75": [-10, 0, 0]
                    }
                },
                "head": {
                    "rotation": {
                        "0.0": [-7.5, 0, 0],
                        "0.75": [-7.5, 0, 0]
                    }
                }
            }
        },
        "animation.ghost.move": {
            "loop": true,
            "animation_length": 1,
            "bones": {
                "body": {
                    "rotation": {
                        "0.0": [15, 0, 0],
                        "0.25": [15, -2.5, 0],
                        "0.5": [15, 0, 0],
                        "0.75": [15, 2.5, 0],
                        "1.0": [15, 0, 0]
                    }
                },
                "leftArm": {
                    "rotation": {
                        "0.0": [15, 0, 0],
                        "0.5": [20, 0, 0],
                        "1.0": [15, 0, 0]
                    }
                },
                "rightArm": {
                    "rotation": {
                        "0.0": [15, 0, 0],
                        "0.5": [20, 0, 0],
                        "1.0": [15, 0, 0]
                    }
                },
                "head": {
                    "rotation": {
                        "0.0": [-12.5, 0, 0],
                        "0.5": [-15, 0, 0],
                        "1.0": [-12.5, 0, 0]
                    }
                }
            }
        }
    }
}
Copied to Clipboard