World Animations
World animations are in-world animations of the crate opening process. Everything is done through packets to allow multiple users to use a crate without conflicts. This section includes some complicated concepts that may be hard to understand, so please refer to the Examples section for pre-made animations that can be used as a base.
All world animations live in the world folder inside the config/skiescrates/openings/ directory.
Directoryconfig
Directoryskiescrates
Directoryopenings
Directoryworld
- example_world.json
- second_world.json
{ "type": "", "hide_hologram": true}World Animation Options
Section titled “World Animation Options”Type (required)
Section titled “Type (required)”The type of world animation to use. See the Animation Types section for more information.
"type": "SIMPLE_ROLL"Hide Hologram
Section titled “Hide Hologram”Whether to hide the hologram that appears above the crate block during the animation. Hides only for the player using the crate and returns after it has completed.
"hide_hologram": trueAdditional Options
Section titled “Additional Options”Additional options are available depending on the type of animation used. See Animation Types for each type’s additional options.
Animation Types
Section titled “Animation Types”These are the available Animation Types along with a short description.
| Identifier | Description |
|---|---|
| SIMPLE_ROLL | A simple animation of a single item being spun |
Simple Roll Animation
Section titled “Simple Roll Animation”A simple animation where a single item is spun above the crate block before giving the reward.
{ "type": "SIMPLE_ROLL", "spin_count": 30, "spin_interval": 1, "start_delay": 0, "change_interval": 3, "change_amount": 1, "end_delay": 40, "sound": { "sound": "minecraft:block.note_block.xylophone", "pitch": 0.5, "volume": 0.5 }, "offset": { "x": 0.0, "y": 1.0, "z": 0.0 }, "hide_hologram": true}