Skip to main content

on_craftengine_block_break_event

Triggers when a CraftEngine custom block is broken — misc entry.

Entry Information

PropertyValue
Entry IDon_craftengine_block_break_event
TypeMisc
ColorRed
Iconmdi:hammer

Fields

FieldTypeDescription
blockIdStringThe 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>List of item IDs that the player must have in hand to trigger this event. Leave empty to allow any item or no item.

Usage Example

- entry: on_craftengine_block_break_event
name: "Triggers when a CraftEngine custom block is broken"
blockId: ""
location: ""
itemsInHand: []