On Craftengine Block Place Event
Triggers when a CraftEngine custom block is placed
Fields
| Field | Type | Default | Description |
|---|---|---|---|
blockId | String | — | The custom block ID that triggers this event (e.g., 'namespace:block_id'). Leave empty for any custom block. |
location | Optional<Var<Position>> | — | The location where the block was placed (optional) |
itemsInHand | List<String> | empty | List of item IDs that the player must have in hand to trigger this event. Leave empty to allow any item or no item. |
Common TypeWriter fields (triggers)
| Field | Type | Default | Description |
|---|---|---|---|
triggers | List<Ref<TriggerableEntry>> | empty | — |