メインコンテンツまでスキップ

On Furniture Pre Place Event

Triggers just before a furniture is placed

Fires before the furniture entity is spawned. This is the point ItemsAdder documents for refusing a placement, unlike the place event which only reports one that already happened.

フィールド

フィールド型デフォルト説明
furnitureIdString—The furniture ID that triggers this event (e.g., 'namespace:furniture_id'). Leave empty for any furniture.
locationOptional<Var<Position>>—The location where the furniture is about to be placed (optional)
TypeWriter 共通フィールド(triggers)
フィールド型デフォルト説明
triggersList<Ref<TriggerableEntry>>empty—

How to use it​

Fires before the furniture entity is spawned, whereas On Furniture Place fires once it exists. The event only triggers entries: it does not cancel the placement.