Skip to content

Areas, doors and switches

The Logic tool (Q) marks the parts of your build that do something. This page covers the four that rules lean on most: areas, doors, switches and sound zones. On their own they do little. Rules tie them together: walk into this area, close that door, start those waves. See Rules and signals for the rules themselves.

A gate grinds up as a boss falls. A lever opens a secret wall. A bridge appears over lava. A cave drips and echoes as you walk in. Players never see the areas themselves, only what happens in them.

In the forge dungeon, the Forgemaster’s vault stays shut until he falls.

  1. Build the doorway, closed, with the blocks the door should be. The vault’s is 5 blocks wide and 5 high.
  2. In the Logic tool, pick Door and click one of its blocks. That block and every touching block of the same kind become the door. For a secret door in a wall, drag across its blocks, corner to corner, instead.
  3. In the door’s panel, set Opens to Slides, up, in 1.5 seconds. Leave Starts open off.
  4. Pick Area and drag over the vault floor. Name it “The Forgemaster’s vault”.
  5. Open Rules… and add the rule that opens the door when he dies (see Rules and signals).
The Logic panel with the vault door selected: Opens, Slides, Sound and the door’s rules
A door's panel in the Logic tool

Pick what to place along the top of the Logic panel, then click or drag in the view. Select (or clicking a marker) opens an object’s panel. Esc stops; Delete removes the selected object.

  • Height sets how tall a newly dragged area is, 1 to 64 blocks (4 to begin with).
  • On this dungeon lists every object. Click one to open it.
  • Show the logic with every tool keeps the markers in view while you build.
  • Check at the foot lists what’s missing or broken. Click a line to go to it.

The picks are Start, Lobby, Chest, Loot box, Spawner, Waves, Checkpoint, Area, Door, Switch, Sound and Exit.

Drag a box for rules to use: walking in or out of it, teleporting to it, spawning mobs or filling blocks in it, and particles.

Field What it does Default
Name What rules and Check call it Area 1, 2…
Size Its width, height and depth, which you can change As dragged
Rules The rules this area owns, such as “a player walks in” None

The door’s blocks are the door, closed, as you built them. Opening takes them away; closing puts them back.

Field What it does Default
Opens At once, Slides or Swings. Sliding and swinging doors move as block displays Slides
Slides Which way: up, down, north, south, east or west, and how many seconds it takes up, 1.5 s
Hinge For a swinging door: which end of its long side it swings on one end
Sound Plays as it opens and closes. Empty: none block.iron_door.open
Starts open Opens as soon as the run starts Off
Players can open it by hand Players open and close it by using it, when it isn’t locked Off
Locked Only a rule, or a player holding its key, opens it Off
Key The item that unlocks it. Nothing: only a rule can None
The player keeps the key Otherwise one key is used up Off
Closes after Seconds before it closes again. 0 stays open 0

Click a lever, button or pressure plate, or any block players should use (right-click), such as a lectern or a skull.

Kind What rules hear
Lever Switched on and off
Button Pressed
Pressure plate Stepped on, at most once a second per player
Any other block Used

A switch has a Name and its Rules.

Drag an area where a sound plays for whoever’s inside.

Field What it does Default
Sound A Minecraft sound, such as ambient.cave ambient.cave
Volume and pitch Volume 0 to 10; pitch 0.5 to 2 1 and 1
Every Plays again every so many seconds. 0 plays once on the way in 20 s
  • A locked door says “Locked” above the hotbar when someone tries it without the key.
  • A player walking into an area sets off its “walks in” rules.
  • Each run is its own copy, so its doors and switches start as you built them.

Areas, doors, switches and sound zones work the same for Bedrock players. A sliding or swinging door moves as block displays, which Bedrock doesn’t draw, so there its blocks simply go as it opens and come back as it closes.

  • WorldGuard: VF Dungeons’ own block changes (doors, filled areas) are let through region protection.
  • CoreProtect: those changes are logged as Voxelforge.
  • Name everything. Rules, quests and Check refer to objects by name, and “Area 7” tells you nothing a month later.
  • A door is the blocks it was made from. If you rebuild the doorway, choose the door again (Pick again in its panel).
  • Pressure plates fire at most once a second per player, so a plate under a crowd doesn’t flood your rules.
  • Hidden doors: drag across part of a wall to make a door of just those blocks. Give it no sound and At once for a wall that simply vanishes.
voxelforge.appPrivacyUser AgreementVF Dungeons licenceinfo@voxelforge.appMade by Voxelforge. Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft. Claude is a trademark of Anthropic. Voxelforge is not affiliated with or endorsed by Anthropic.