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
| Campo | Tipo | Predeterminado | Descripción |
|---|---|---|---|
blockId | String | — | The Nexo custom block ID that triggers this event (e.g., 'my_block'). Leave empty for any custom block. |
location | Optional<Var<Position>> | — | The location where the block dropped its loot (optional) |
Campos comunes de TypeWriter (triggers)
| Campo | Tipo | Predeterminado | Descripción |
|---|---|---|---|
triggers | List<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.