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

On Craftengine Block Break Event

Triggers when a CraftEngine custom block is broken

Поля

ПолеТипПо умолчаниюОписание
blockIdString—The custom block ID that triggers this event (e.g., 'namespace:block_id'). Leave empty for any custom block.
locationOptional<Var<Position>>—The location where the block was broken (optional)
itemsInHandList<String>emptyList of item IDs that the player must have in hand to trigger this event. Leave empty to allow any item or no item.
Общие поля TypeWriter (triggers)
ПолеТипПо умолчаниюОписание
triggersList<Ref<TriggerableEntry>>empty—