跳到主要内容

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.