Saltar al contenido principal

Nexo on Customblock Drop Loot Event

Triggers when a Nexo custom block drops loot

Triggered when a broken Nexo block actually drops its loot, which is the moment the loot table has been rolled. Unlike the break event, this one knows how much dropped.

Campos

CampoTipoPredeterminadoDescripción
blockIdString—The Nexo custom block ID that triggers this event (e.g., 'my_block'). Leave empty for any custom block.
locationOptional<Var<Position>>—The location where the block dropped its loot (optional)
Campos comunes de TypeWriter (triggers)
CampoTipoPredeterminadoDescripción
triggersList<Ref<TriggerableEntry>>empty—

How to use it​

Fires when a broken block rolls its loot. In addition to the block id and position, the triggered entries receive the number of stacks and the total amount of items that dropped.