Doors, gates & locks
LiveHang great swinging doors on log pillars, raise castle gates of fences or bars, and build canal locks that lift anchored ships between waters.
Three kinds of mechanism are built from ordinary blocks: swinging doors, castle gates and canal locks. Each one works from a hinge you build first: a pillar of logs, a beam of logs or a pillar of cauldrons. Look at the hinge and type /mechs register.
| Hinge | What moves | Largest | Worked by | |
|---|---|---|---|---|
| Swinging door | Upright pillar of logs | A flat panel of almost any blocks | 12 blocks out, 50 tall, 600 blocks | Right-clicking the door |
| Castle gate | Beam of logs lying flat | Fences or iron bars hanging from it | Beam 20 long, 99 rows deep | Right-clicking the bars |
| Canal lock | Pillar of cauldrons (the gauge) | The water in its chamber, and any anchored ship | Lift of 12, chamber of 1,200 blocks | The gauge's menu |
Who can use them
- You can register a mechanism only where you may build. Every block of it must be somewhere you may build, and none of it on another guild's land.
- On guild land, only those who may build there can work it, change it or unregister it. In the wilderness, anyone can.
- At spawn, only its builders can register or change a mechanism. Anyone can work one there.
- Right-click the hinge with an empty hand for its menu.
- A mechanism can't be part of a ship, and a ship with one built into her hull can't set sail.
Swinging doors
A swinging door is a flat panel, one block thick, beside an upright pillar of logs. It swings a quarter turn about the pillar.
- Build the pillar: two or more logs standing upright, at least as tall as the door. Stripped logs and wood blocks work too.
- Build the door against one side of the pillar, out of any solid blocks, with open air or water on both faces. It can reach up to 12 blocks from the pillar and stand up to 50 tall, at most 600 blocks in all.
- Look at the pillar and type
/mechs register. If the door isn't a full rectangle, or there are blocks against more than one side of the pillar, mark two opposite corners of the door with/mechs pos1and/mechs pos2first.
Right-click any block of the door with an empty hand to open or close it. A swing takes about a second, a little under two for the widest doors. It swings clockwise unless you change it in the hinge menu while it is closed.
- Not every block can be part of a door: chests, barrels, heads, banners, signs, beds, shulker boxes, beehives, campfires, ice, pistons, observers, cauldrons and TNT can't. Torches and anything else hung on a door's face fall off when it moves.
- It won't swing through anything but air, water, grass or snow, nor through another mechanism, a ship or another guild's land, and it says what is in the way. People and animals in its path are moved aside unhurt.
- Changing it: a block broken out of a door is no longer part of it, nor is anything left without a connection to the pillar. To take in blocks you have added, choose Rebuild door in the hinge menu. Breaking the pillar leaves the door as ordinary blocks.
Castle gates
A castle gate is a curtain of fences or iron bars hanging from a beam of logs. Raised, it draws up into the beam one row at a time.
- Lay the beam: two or more logs lying flat in a straight line, up to 20 long.
- Hang fences or iron bars straight down from it, up to 99 rows deep. Columns can be different lengths, for an arch.
- Look at the beam and type
/mechs register.
Right-click the bars with an empty hand to raise or lower the gate. Click again while it moves to send it back the other way. It moves about four rows a second.
- Showing: the beam's menu sets how many rows stay hanging when the gate is fully raised.
- It rests on what it meets. Lowered onto a block, it stops there, and it won't rise into anything in its way. People and animals beneath it are moved aside unhurt.
- Mending: a gap left by a broken bar is remembered. Put a fence or iron bars in the gap to mend it. To take in rows you have added, lower the gate fully and choose Rebuild gate.
- Breaking the beam brings the gate all the way down, where it stays as ordinary blocks. Any bar that can't come down drops as an item. To unregister a gate without breaking its beam, lower it fully first.
Canal locks
A canal lock carries a ship between two waters at different heights, such as a river above and a harbour below. The water in its chamber rises or falls with the ship anchored in it.
Building a lock
- The chamber: a basin of water, walled on every side up to the higher water level, with at most 1,200 blocks of surface. A chamber a few blocks longer than your ship is easiest to anchor in.
- The two waters: one with its surface at the lower level and one at the higher, each behind one or two blocks of the chamber's wall. Each must hold more water than the chamber moves: more than 110% of its surface times the lift.
- The gauge: a pillar of cauldrons standing against the chamber's water. The bottom cauldron is level with the lower water and the top one with the higher. The lift can be up to 12 blocks.
- Look at a cauldron and type
/mechs register. The lock tells you what to change if the chamber leaks or a water is missing or too small.
Gates keep the chamber sealed. Build a swinging door in each end wall and register it, then set it as the lock's upper gate or lower gate from the gauge's menu. The upper gate opens only when the chamber is full and the lower one only when it is empty, and the lock won't run while either stands open.
Working a lock
Right-click the gauge with an empty hand and choose Fill or Empty. The water moves one block every three seconds, so the full 12-block lift takes 36 seconds. The gauge's cauldrons fill and empty to show the level. Everyone nearby is told when the chamber is full or empty.
Taking a ship through
- Sail into the chamber, drop anchor and close the gate behind her.
- Fill or empty the lock. She rises or falls with the water, with her crew, passengers, animals, cargo and unmanned cannons aboard.
- Open the far gate, set sail and go.
A ship must lie in the chamber, but her bow or stern may hang out over the walls and gates as long as it stays above the higher water level, even when the chamber is empty. A ship waiting outside whose bowsprit reaches over a gate above that level is left where she is.
The lock stops, and says why, if a ship in the chamber is under way, sticks out of it lower than that or would touch the floor going down, or if a wall leaks or a gate is opened. A ship won't be moved while one of her cannons is manned, while she carries a brewing cauldron, brewery barrel, distiller or grapevine, or once she has expired. Before she is lowered, take off any loose block resting on her that isn't part of her.
Redstone
Any mechanism can be switched to redstone in its menu. Power reaching the hinge opens a door, raises a gate or fills a lock; when the power goes, it closes, lowers or empties. On redstone it can't be worked by hand. If something blocks it, it tries again a little later.
On guild land, only power from that guild's own land counts: a lever set against the hinge from outside does nothing.
Commands
| Command | What it does |
|---|---|
/mechs register | Register the pillar, beam or gauge you're looking at. |
/mechs pos1, /mechs pos2 | Mark two opposite corners of a door the scan can't make out. |
/mechs info | Describe the mechanism you're looking at. |
/mechs unregister | Make the mechanism you're looking at ordinary blocks again. |
/mechs list | Your mechanisms and where they are. |