跳到主要内容

On Custom Block Break Event

Triggers when a CraftEngine custom block is broken.

Configuration

Id

The id of this entry.

Name

The name of this entry.

Block Id

The custom block ID that triggers this event (e.g., 'namespace:block_id'). Leave empty for any custom block.

Location

The location where the block was broken (optional).

Items In Hand

List of item IDs that the player must have in hand to trigger this event. Leave empty to allow any item or no item.

Triggers

List of triggerable entries to execute when this event occurs.