Skip to main content

Craftengine Set Quest Furniture

Hide or show one piece of the world's furniture, for one player, inside a quest zone

Fields

FieldTypeDefaultDescription
artifactRef<QuestStateArtifactEntry>—Where this artifact's state is stored. Must be the artifact the zone uses.
zoneIdString—The zone this deviation belongs to, as named on the zone audience.
groupRef<GroupEntry>—The group the zone shares its state with, if any. Must match the zone audience.
locationVar<Position>ORIGINThe block the furniture is anchored on — where it was placed, not where its model appears to sit.
furnitureIdVar<String>—Which furniture at that block ('namespace:id'). Empty means every piece anchored there.
visibilityQuestFurnitureVisibilityHIDDENWhether this player is shown the furniture.
Common TypeWriter fields (criteria, modifiers, triggers)
FieldTypeDefaultDescription
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<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.

  • location is the block the furniture is anchored on, where it was placed, not where its model appears to sit.
  • furnitureId picks which furniture at that block. Empty hides every piece anchored there, which is wrong when two pieces share a block.
  • visibility is HIDDEN (default) or VISIBLE, 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.