Skip to content

Failure Options

Defines what happens when a player fails to open the crate for some reason, like missing keys, insufficient funds, inventory space, etc.

"failure": {
"pushback": 0.5,
"sound": {
"sound": "minecraft:block.lava.extinguish",
"pitch": 1.0,
"volume": 0.5
}
}

The force with which a player is pushed back away from the crate positon by when a crate opening fails. Set to 0 to disable.

"pushback": 0.5

The sound played to the player when a crate opening fails.

"sound": {
"sound": "minecraft:block.lava.extinguish",
"pitch": 1.0,
"volume": 0.5
}

The sound event to play. In the format of mod_id:sound_id.

"sound": "minecraft:block.lava.extinguish"

The pitch at which to play the sound. Defaults to 1.0.

"pitch": 1.0

The volume at which to play the sound. Defaults to 1.0.

"volume": 0.5