Перейти к основному содержимому

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.

Поля

ПолеТипПо умолчаниюОписание
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)
Общие поля TypeWriter (triggers)
ПолеТипПо умолчаниюОписание
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.