Craftengine Set Quest Furniture
Hide or show one piece of the world's furniture, for one player, inside a quest zone
Fields
| Field | Type | Default | Description |
|---|---|---|---|
artifact | Ref<QuestStateArtifactEntry> | — | Where this artifact's state is stored. Must be the artifact the zone uses. |
zoneId | String | — | The zone this deviation belongs to, as named on the zone audience. |
group | Ref<GroupEntry> | — | The group the zone shares its state with, if any. Must match the zone audience. |
location | Var<Position> | ORIGIN | The block the furniture is anchored on — where it was placed, not where its model appears to sit. |
furnitureId | Var<String> | — | Which furniture at that block ('namespace:id'). Empty means every piece anchored there. |
visibility | QuestFurnitureVisibility | HIDDEN | Whether this player is shown the furniture. |
Common TypeWriter fields (criteria, modifiers, triggers)
| Field | Type | Default | Description |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
modifiers | List<Modifier> | empty | — |
triggers | List<Ref<TriggerableEntry>> | empty | — |
How to use it
Takes a piece of the world's furniture out of one player's view, or puts it back. The world keeps it; only this player's scope stops being shown it. It is remembered with the zone.
locationis the block the furniture is anchored on, where it was placed, not where its model appears to sit.furnitureIdpicks which furniture at that block. Empty hides every piece anchored there, which is wrong when two pieces share a block.visibilityisHIDDEN(default) orVISIBLE, which shows it again.
A hidden furniture keeps its collision for the player who cannot see it. artifact, zoneId and group must match the zone audience.