Got a question that the wiki doesn't answer? Ask on the forum (preferred), or join us on IRC.

CreeperHost
About the ads

CraftBook/Bridges

From EngineHub.org Wiki
Jump to: navigation, search

Bridges are configurable-width flat sections of the world that you can toggle on and off. The width of the bridge can be changed.

  • They can be toggled by right clicking a sign, or;
  • They can be set with redstone input.

As bridges they are not very fancy, but you can re-purpose them for a number of other uses. If you want "vertical bridges," look into using Doors. If you want to toggle an actual fancy bridge, check out toggle areas.

Contents

Construction

Bridge.png

Bridges consist of three parts:

  1. The bridge part made out of one material. By default, you can use cobblestone, wood, glass, double stone slab, but this list can be configured.
  2. One sign post Wall sign icon.png on one end, either above or below the bridge. Alternatively, a wall sign can be placed on the side of the block that the sign post would be placed above/below. The second line of the sign must be [Bridge].
  3. A sign post Wall sign icon.png on the other end, either above or below. Alternatively, a wall sign can be placed on the side of the block that the sign post would be placed above/below. The second line of the sign must be [Bridge] or [Bridge End] (you are only able to right click the first type).
  4. If the player is allowed to, they can put infinite on the first line of the signs to not run out of blocks. (If the configuration is set to require blocks)
  5. The 3rd and 4th lines of the sign symbolize width. The 3rd line is how wide it is on the left, whilst the 4th is how wide it is on the right. For example, the 3rd line being 0 and the 4th line being 1, will be a 2 wide bridge with the second row being on the right side. The default width is 1 on both lines (Making it have a default width of 3 overall)

The signs can be both either above or below the bridge (Or on the side of the block), but they must be in the center.

Warning: If the configuration is set to require blocks, you must create the entire bridge or it will not work. You can restock mechanics by right clicking the sign with the required block.
Watch the tutorial video to learn how to make the bridge.

Redstone support

Bridges support redstone: just put a redstone current next to the sign. You may want to place signs under bridges so that they are not unsightly if you do use redstone.

  • An active input creates the bridge.
  • An inactive input removes the bridge.

Uses

Aside from the obvious use as a retractable bridge, some possibilities include:

  • Using them as flood gates to block water or lava.
  • Using them as flood gates to unleash water or lava on unsuspecting players.
  • Luring enemies into a pit with a bridge floor, then releasing the enemies when an unsuspecting player is nearby.
  • Function as a trap door to catch unsuspecting players.
  • Toggle a part of a house's floorboards to hide things underneath.
  • Switch a sky light on and off.
  • Suffocating unsuspecting intruders or hostile mobs.
  • Some other clever use that will blow all of our minds.

Permissions

Permission Node Effect
craftbook.mech.bridge Allows the creation of bridges.
craftbook.mech.bridge.use Allows the usage of bridges.
craftbook.mech.bridge.restock Allows the user to restock bridges.
craftbook.mech.bridge.infinite Allows the creation of bridges with infinite materials.

Configuration

Configuration Node and Path Default Value Effect
mechanics.bridge.enable false Enable bridges.
mechanics.bridge.allow-redstone true Enable bridges via redstone.
mechanics.bridge.max-length 30 Max length of a bridge.
mechanics.bridge.max-width 5 Max width either side. 5 = 11, 1 in middle, 5 on either side.
mechanics.bridge.blocks [COBBLESTONE, WOOD, GLASS, DOUBLE_STEP, WOOD_DOUBLE_STEP] Blocks bridges can use.


Namespaces

Variants
Actions