on_craftengine_block_place_event
Triggers when a CraftEngine custom block is placed — misc entry.
Entry Information
| Property | Value |
|---|---|
| Entry ID | on_craftengine_block_place_event |
| Type | Misc |
| Color | Green |
| Icon | mdi:cube-outline |
Fields
| Field | Type | 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> | 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_place_event
name: "Triggers when a CraftEngine custom block is placed"
blockId: ""
location: ""
itemsInHand: []