On Craftengine Furniture Attempt Place Event
Triggers when a player attempts to place CraftEngine furniture
Fires before CraftEngine validates the placement, so it still sees attempts that end up refused.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
furnitureId | String | — | The furniture ID that triggers this event (e.g., 'namespace:furniture_id'). Leave empty for any furniture. |
location | Optional<Var<Position>> | — | The location where the furniture would be placed (optional) |
permission | String | — | A permission the player must hold to be allowed to place. Leave empty to skip the check. |
allowWhen | List<Criteria> | empty | Facts the player must satisfy to be allowed to place. When unmet, the placement is refused. |
cancel | Boolean | true | Whether to stop the placement when the requirements are unmet. Turn off to only fire the triggers. |
Common TypeWriter fields (triggers)
| Field | Type | Default | Description |
|---|---|---|---|
triggers | List<Ref<TriggerableEntry>> | empty | — |