Skip to content

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
}

The type of world animation to use. See the Animation Types section for more information.

"type": "SIMPLE_ROLL"

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": true

Additional options are available depending on the type of animation used. See Animation Types for each type’s additional options.


These are the available Animation Types along with a short description.

IdentifierDescription
SIMPLE_ROLLA simple animation of a single item being spun

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
}