Drop Animation
Drop Animation
Drop Animation controls how items are visually dropped into the world. It works with a list of items and plays effects, sounds, and movement behaviors while spawning them.
Example
"drop_animation": {
"delay": 5,
"effects": [
"TELEPORT_TO_PLAYER"
],
"drop_sound": {
"sound_name": "ENTITY_ITEM_PICKUP",
"pitch": 1,
"volume": 1
},
"velocity": {
"type": "FOUNTAIN",
"power": 0.4
}
}Parameters
delay
How many ticks to wait before dropping the next item.
Example: delay: 5 → one item every 5 ticks.
effects
A list of item-based effects applied during the drop animation:
TELEPORT_TO_PLAYER – teleports each dropped item to the player’s location after 1 second.
GLOW – makes the item glow while it exists in the world.
PICK_UP_PROTECTED – protects the dropped items so only the event owner can pick them up. Other players will be unable to steal the loot.
drop_sound
Sound played each time a single item from the list is dropped.
velocity
Controls how dropped items move after spawning.
Different velocity types define various item behaviors.
NORMAL
Standard item physics with no special movement.
FOUNTAIN
Items shoot upward in a fountain-like arc.
FLASH
Items burst outward quickly in random directions.
TO_PLAYER
Items instantly move toward the player’s position.
Last updated