Skip to content

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
}

All World Animation Types inherit a base set of options. See World Animation Options for more information.

The total number of spins this spinner will perform before stopping.

"spin_count": 51

The starting interval, in ticks, between each spin of this spinner.

"spin_interval": 1

The delay, in ticks, before this spinner starts spinning from the start of the animation.

"start_delay": 0

The number of ticks before increase the Spin Interval by the Change Amount, in a loop.

"change_interval": 5

The amount, in ticks, to increase the Spin Interval by every Change Interval.

"change_amount": 1

The sound to play every time this spinner spins.

"sound": {
"sound": "minecraft:block.note_block.xylophone",
"pitch": 0.5,
"volume": 0.5
}

The offset, using an XYZ floating point object, from the crate block to spawn the item at, relative to the bottom center of the block.

"offset": {
"x": 0.0,
"y": 1.0,
"z": 0.0
}