minecraft.wiki-mirror/wiki_backup/Tutorials_Mechanisms#Mechanisms.txt
2024-12-21 09:59:47 -05:00

400 lines
16 KiB
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{rewrite|The article should be about types of mechanisms, not a list of specific examples.}}
[[File:DoorPowered.png|thumb|A [[door]] wired to a [[lever]], one of the simplest redstone mechanisms]]
'''Mechanisms''' are systems of blocks used to perform certain tasks, such as opening a [[door]] from afar or revealing a hidden staircase. These systems are built from simple components and normally involve some kind of user input, such as breaking a torch, which generates some kind of result, like a door being revealed. Mechanisms can range from simple switches that open and close doors from a safe distance, to complex devices such as combination locks that prevent intruders from entering your fort.
== Components ==
These are the basic, modular parts that can be combined to form any complex mechanism. Please note that individual items in the game are not considered components. Also, not all of these components have to be used when making a mechanism.
=== Physical components ===
*'''[[Water]] Channel:''' A channel in which water can flow. Water is commonly used to break [[torch]]es, causing things to fall, or washing away crops, as well as to transport items or mobs.
*'''Tube:''' A long three by three structure that can be used for launching [[TNT]].
*'''[[Piston]] Switch:''' Block 1 above ground level with redstone on top, with a [[piston]] that moves across to stop circuit. Used so pressing a [[button]] or [[lever]] stops another circuit.
*'''Pipe''': A pipe of [[hopper]]s or clock-fed [[dropper]]s used to transport items.
=== Redstone components ===
See [[Mechanics/Redstone/Circuit|redstone circuits]] for an overview of simple components and [[Tutorials/Advanced redstone circuits|advanced redstone circuits]] for more complicated redstone mechanisms.
== Mechanisms ==
Mechanisms are useful devices made from the combination of components. Here are some examples:
=== Minecart storage system ===
This is a storage system that allows a user to call a minecart and return them.
{{CollapsedVideo|1lQYc3IuL1E}}
=== Potion dispenser ===
For this device, you can stand on a pressure plate and make splash potions shoot out of a dispenser. See the following steps for how to make it:
# First, make a [[dispenser]] dispense [[splash potion]]s. Then, place a dispenser one block over the floor level.
# Place a [[fence]] on the side from which the dispenser shoots out the potion. Finally, put [[pressure plate]]s on top of the fence.
See the following video for a better demonstration:
{{CollapsedVideo|ziGhiF2TvTQ}}
=== Vending machine ===
{{LoadBox|page=Tutorials/Mechanisms/Vending machine|title=Vending machine}}
This is a customizable vending machine that is relatively easy to make. Unfortunately, it does require a lot of iron.
Notes:
# The leftmost top hopper in the side view is the "input/output" hopper. Put items into this hopper and get items out.
# The droppers hold the "purchase" items.
# The chest at the bottom collects the "payment" items.
# Fill the leftmost bottom hopper with 19-''<price>'' items in the first slot, and 1 in each remaining slot. These items are payment items.
# Repeat the upper-right 2 tall by 4 wide section upwards to add more items to the number purchased. (The number of droppers is this number.)
# Delay the signal from the redstone torch to the hopper by 4*(''price'')-5 ticks (if the price is 1, simply don't delay it). The repeater here is showing 1 tick as an example.
=== Hidden floor staircase ===
This is fairly easy to make. Below the floorboard's blocks, you put a face-up [[Piston|sticky piston]] that is powered when off, done by a [[redstone torch]], and then the next block in the floor has a double-piston extender, also powered when off, and then a triple piston extender, and so on, so when the sticky pistons are powered off, then the blocks are pulled down into a staircase.
{{CollapsedVideo|OYPe1limPKQ}}
=== Hidden wall staircase ===
This design features a hidden staircase in the wall, revealed by triggering a redstone signal in some way, such as interacting with a [[lever]] or [[button]]. There are many ways of making this. Look at the following videos for some examples:
{{CollapsedVideo|Fd1XmabZqzc}}
{{CollapsedVideo|hgSRdKqmZ2s}}
=== Rapid pit bomber ===
To make this design, make a [[dispenser]] attached to a redstone clock mechanism and hopper to feed it items. In front of the dispenser, place a [[powered rail]] on a [[block of redstone]] and fill a chest above the hopper with [[minecart with TNT]]. This rapidly dispenses those TNT minecarts onto a powered rail and into a massive crater of their own. It can even tunnel down to bedrock given enough carts.
=== Programmable item store ===
This system lets you program what items you want to sell, how many you give, what you want to be paid, and how many of those to be paid. It locks when it's empty. This is a compact system that is also tile-able.
{{CollapsedVideo|cdj1ot1NJZM}}
=== Two wire control ===
With a lot of repeaters and AND-gates it is possible to control multiple outputs with only two wires. It can be very tricky to get the timing right. You need a pulse generator in both wires to get a pulse with a defined length and in most cases, the output pulse needs to be made longer. As shown in this video you have a top wire and a bottom wire with repeater. On one side you have repeater between the [[button]]s on the top wire and none (or as needed) in the bottom wire. On the other side none (or as needed) on the top wire and matching repeater (to the other top side) on the bottom one. between which you place AND-gates (matching the [[button]]s). The idea is that the signals meet at one AND gate at the same time.
Video tutorial: {{CollapsedVideo|NW75acQqH7Q}}
Example use:
{{CollapsedVideo|ERBIU8yDza8}}
=== Piston doors ===
{{Main|Tutorials/Piston doors}}
<div style="text-align:center">{{yt|jjwIym7HA_Q}}</div>
1×2 flush with the wall piston door. Fitting in a 2×4×4 space.
{{CollapsedVideo|zIX3DwVIdF0}}
1×2 Hidden Piston Door
{{CollapsedVideo|rwblBWZNxKM}}
These "Jeb doors" can also be referred to as flush-inset [[piston]] doors. Here is an example of one of these, with a redstone torch key system added on. Once broken down, it's not extremely difficult to build.
{{CollapsedVideo|L-lAd4VeumI}}
For an easy [[piston]] door with no [[sticky piston]]s:
{{CollapsedVideo|Ja7xJ_F12b4}}
=== Piston One-Way Elevators ===
==== 5x4 ====
{{CollapsedVideo|unf_Kj9SxY4}}
This design allows one to get a great view on the surroundings and enables you to connect and stop on any floor you want. The video also contains horizontal [[piston]] transport.
==== 4x4 ====
{{CollapsedVideo|YB-LdSbshPg}} or {{CollapsedVideo|1bVYdqvKF7M}}
This design is even more compact than the previous one; however, it blocks sight. It's great for building elevators in shafts. Note: you need to set the pistons to 3 instead of 2. The first is still to be set on 4.
=== Piston Two-Way Elevators ===
Two-way elevators can be built, but they are slower and much more complex than the previous ones. They also require a lot more space and resources.
{{CollapsedVideo|cix161oQWGA}}
The two-way elevator can be built the following way:
The engine shown below of this text uses wool between the pistons and the fence gates/trapdoors. However, instead of wool any other block can be put there, as long as pistons can push it.
[[File:TWE engine.png|185px|thumb|left|The engine]]
[[File:TWE front view.png|400px|thumb|none|Front view schematic of the elevator]]
The schematics for the wiring assuming that you know how to make a 1 tick long impulse. A 1 tick long impulse can be obtained using a [[Redstone_Circuits#Pulse_Limiters|pulse limiter]]. In both of the schematics, empty squares represent air blocks, and repeaters all have the minimum delay possible.
{{Collapse
|title = '''Schematic to make the elevator go down'''
|head=1}}
{|class="wikitable"
|{{Schematic
|caption = Top level
|size=24
||||input|||||
|-
|SB+rd-se!|SB+rd-ew!|SB+rd-ew!|SB+rd-new!|SB+rd-ew!|SB+rd-sw!|||
|-
|SB+rr-s1!|||||SB+rr-s1!|||
|-
|SB+rd-ns!||rd-ew!|rd-ew!||SB+rd-ns!|||
|-
|SB+rd-ns!||rr-n1!|||SB+rd-nse!|SB+rr-e1!|SB+rd-ns!|
|-
|SB+rd-ns!||rr-n1!|||SB+rr-s1!||SB+rd-ns!|
|-
|SB+rd-ne!|rd-ew!|rd-nw!|||SB+rr-s1!||SB+rd-ns!|
|-
|||rr-n1!|||SB+rr-s1!||SB+rd-ns!|
|-
|||rr-n1!|||SB+rr-s1!||SB+rd-ns!|
|-
|||rd-nse!|rd-ew!|SB+rd-ew!|SB+rd-ew!||SB+rd-ns!|
|-
|||rd-ns!|||||SB+rd-ns!|
|-
|||rr-s1!|||||SB|
|-
|||rd-ew!|rd-ew!|rd-ew!|rd-ew!|SB|E|SB
}}
||
{{Schematic
|caption = Lower level
|size=24
|||||||||
|-
|||||||||
|-
|||||||||
|-
|||||SB+rd-ew!|SB+rd-sw!|||
|-
|||rd-ew!|rd-ew!||SB+rd-nse!|SB+rr-e1!|SB+rd-ns!|
|-
|||rr-n1!|||SB+rr-s1!||SB+rd-ns!|
|-
|||rr-n1!|||SB+rr-s1!||SB+rd-ns!|
|-
|||rr-n1!|||SB+rr-s1!||SB+rd-ns!|
|-
|||rr-n1!|||SB+rr-s1!||SB+rd-ns!|
|-
|||rd-ns!|||SB+rd-ns!||SB+rd-ns!|
|-
|||rd-nse!|rd-ew!|SB+rd-ew!|SB+rd-nw!||SB+rd-ns!|
|-
|||rr-s1!|||||SB|
|-
|||rd-ew!|rd-ew!|rd-ew!|rd-ew!|SB|E|SB
}}
||
{{Schematic
|caption=Lower level
|size=24
|||||||||
|-
|||||||||
|-
|||||||||
|-
|||rd-se!|rd-ew!|||||
|-
|||rd-ns!||SB+rd-ew!|SB+rd-sew!|SB+rr-e1!|SB+rd-ns!|
|-
|||rr-n1!|||SB+rr-s1!||SB+rd-ns!|
|-
|||rr-n1!|||SB+rr-s1!||SB+rd-ns!|
|-
|||rr-n1!|||SB+rr-s1!||SB+rd-ns!|
|-
|||rr-n1!|||SB+rr-s1!||SB+rd-ns!|
|-
|||rd-nse!|rd-ew!|SB+rd-ew!|SB+rd-ew!||SB+rd-ns!|
|-
|||rd-ns!|||||SB+rd-ns!|
|-
|||rr-s1!|||||SB|
|-
|||rd-ew!|rd-ew!|rd-ew!|rd-ew!|SB|E|SB
}}
|}
{{Collapse|tail=1}}
{{Collapse
|title='''Schematic to make the elevator go up'''
|head=1}}
{|class="wikitable"
|{{Schematic
|caption = Upper level
|size=24
|||||||||
|-
|||||||||
|-
|||||||||
|-
||||||SB+rd-ew!|SB+rd-sw!||
|-
||rd-ns!|rr-w1!|rd-sew!|rd-ew!||SB+rd-ns!||
|-
||rd-ns!||rr-s1!|||SB+rr-n1!||
|-
||rd-ns!||rr-s1!|||SB+rr-n1!||
|-
||rd-ns!||rr-s1!|||SB+rr-n1!||
|-
||rd-ns!||rr-s1!|||SB+rr-n1!||
|-
||rd-ns!||rd-ew!|rd-ew!|SB+rd-ew!|SB+rd-nsw!||
|-
||rd-ns!|||||SB+rd-ns!||
|-
||SB|||||SB+rr-s1!||
|-
|SB|E|SB|SB+rd-ew!|SB+rd-ew!|SB+rd-ew!|SB+rd-ew!||
}}
||
{{Schematic
|caption = Upper level
|size=24
|||||||||
|-
|||||||||
|-
|||||||||
|-
||||rd-se!|rd-ew!||||
|-
||rd-ns!|rr-w1!|rd-nsw!||SB+rd-ew!|SB+rd-ew!||
|-
||rd-ns!||rr-s1!|||SB+rr-n1!||
|-
||rd-ns!||rr-s1!|||SB+rr-n1!||
|-
||rd-ns!||rr-s1!|||SB+rr-n1!||
|-
||rd-ns!||rr-s1!|||SB+rr-n1!||
|-
||rd-ns!||rd-ns!|||SB+rd-ns!||
|-
||rd-ns!||rd-ne!|rd-ew!|SB+rd-ew!|SB+rd-nsw!||
|-
||SB|||||SB+rr-s1!||
|-
|SB|E|SB|SB+rd-ew!|SB+rd-ew!|SB+rd-ew!|SB+rd-ew!||
}}
||
{{Schematic
|caption = Bottom level
|size=24
||||||input|||
|-
||||rd-se!|rd-ew!|rd-new!|rd-ew!|rd-ew!|rd-sw!
|-
||||rr-s1!|||||rr-s1!
|-
||||rd-ns!||SB+rd-ew!|SB+rd-ew!||rd-ns!
|-
||rd-ns!|rr-w1!|rd-nsw!|||SB+rr-n1!||rd-ns!
|-
||rd-ns!||rr-s1!|||SB+rr-n1!||rd-ns!
|-
||rd-ns!||rr-s1!|||SB+rd-ne!|SB+rd-ew!|rd-nw!
|-
||rd-ns!||rr-s1!|||SB+rr-n1!||
|-
||rd-ns!||rr-s1!|||SB+rr-n1!||
|-
||rd-ns!||rd-ew!|rd-ew!|SB+rd-ew!|SB+rd-nsw!||
|-
||rd-ns!|||||SB+rd-ns!||
|-
||SB|||||SB+rr-s1!||
|-
|SB|E|SB|SB+rd-ew!|SB+rd-ew!|SB+rd-ew!|SB+rd-ew!||
}}
|}
{{Collapse|tail=1}}
A screenshot of an implementation of this design:
[[File:TWE example.png|600px|thumb|none|Screenshot of a two-way elevator using this design]]
Also, see this video for a larger two-way elevator:
{{CollapsedVideo|zLWv0yxh7ic}}
=== Quick & safe item incinerator ===
{{CollapsedVideo|U-EBsP_YNgI|Quick item incinerator}}
=== Compact block swapper ===
{{Incomplete section|1=Needs new video|nocat=1}}<!--The original video was private-->
This is a quick video tutorial on how to make a compact block swapper.
=== Bank system ===
This is a simple bank system using powered rails, which should be helpful for Minecrafters less experienced with redstone.
{{CollapsedVideo|EV2RBXmlLCY}}
=== Detecting redstone placement ===
{{Incomplete section|1=Needs new video|nocat=1}}<!--The original video was private-->
This silent BUD switch design updates not only when there is an update going on adjacent to it, but also updates when there is redstone wire placed 1 block away from the BUD switch.
=== One-Way Redstone Pulse ===
[[File:One-Way Piston Mechanism.png|200px|thumb|right|This is the in-game build, which is very simple.]]
This is intended to be used in narrow passageways. Since a piston takes 1 tick to extend, you can make a tiny [[monostable circuit]] that is activated by a pressure plate. Then, place a sticky piston with a block attached one block away from the monostable circuit, in which the sticky piston is connected to another pressure plate, one block away from the other. Then connect the blocks on the bottom layers with repeaters.
The output is the block that is pushed by the sticky piston. The output is on when a player walks from one pressure plate to the other, but only in one direction.
In the diagram, it looks like this (the inputs are below pressure plates):
{{schematic
|input|sp-e|MB|-
|||rr-n1|-
|input|rr-e1|SB
}}
=== Self-destructing mechanisms ===
Self-destruct mechanisms are useful when destroying critical buildings or creating secret areas.
* Lay [[TNT]] under critical areas of your base, about two blocks deep. This prevents torches and other [[redstone]] contraptions from detonating your system early. Then, lay TNT to the surface in a 1×1 area and add a [[lever]] or [[button]] above it to complete the basic self-destruct system.
* In [[creative mode]], one could use [[dispenser]]s filled with [[enderman]] spawn eggs wired to a 5-clock [[redstone circuit]] to release endermen into your house, slowly assuring a semi-complete destruction of your base provided that it is made from blocks that enderman can manipulate.
* Remote dispensers could be wired to release [[fire charge]]s upon your [[wood]] structures.
* [[Piston]]s could be placed to release the floor below [[sand]] walls to quickly remove the walls of a structure. This can also be done by supporting the sand with [[scaffolding]] and breaking the main support scaffolds with pistons.
* A dispenser with a [[lava bucket]] could be used to flood your base with lava.
* Connect a [[Tutorials/Mob farm|mob farm]] to your base, and open it up. The mobs cover your house. [[Creeper]]s detonate whenever anyone unwanted comes by, and the other [[mob]]s fight and probably kill any intruders.
* Use [[command block]]s to really wreak havoc upon any sensitive areas. Use commands such as /fill, /summon PrimedTnt, or if you're really thorough, use /summon ~ ~ ~ wither. WARNING: These methods destroy your base and anything near it.
=== Redstone False-3D Lighting Monitor ===
{{Schematic
|caption=False3D Monitor
|float=center
|size=32
|sp-n|sp-n|sp-n|sp-n|sp-n|sp-n|sp-n|sp-n|sp-n|sp-n
|-
|rr-n1|rr-n1|rr-n1|rr-n1|rr-n1|rr-n1|rr-n1|rr-n1|rr-n1|rr-n1
|-
|rr-n1|rr-n1|rd-ne|rd-nw|rr-n1|rr-n1|rd-ne|rd-nw|rr-n1|rr-n1
|-
|rd-nse|rd-nw|rr-n1||rd-nse|rd-nw|rr-n1||rd-nse|rd-nw
|-
|rd-ns||rd-ns||rd-ns||rd-ns||rd-ns|
|-
|rd-ns||rd-ns||rd-ns||rd-ns||rd-ns|
}}
This is the False3D Monitor, if you place a second row of [[sticky piston]]s above the first row you can produce 2×2 pixels. To complete the look of the monitor, you need to place [[blocks]] in front of the sticky pistons to determine what color the pixels are, example: [[wool]]. This happens because when the sticky piston pushes the "pixel block" and then the shading and the 3D cause the pixel to be visible by the player(s). This can generally be used for any purpose regarding visuals, it can also be used for a mob trap if used properly. And there you have it.
=== Redstone lamp floor ===
A redstone wired sequence of [[redstone lamp]]s to mimic the lighting of a working floor. It is pretty easy and very good looking.
{{CollapsedVideo|4x-spTuaxqE}}
=== Nether Basalt Bridge Builder ===
A compact "flying" machine to make a thin basalt bridge across a lava lake.{{CollapsedVideo|RUvI8KVhUJY}}
== See also ==
* [[Mechanics/Redstone/Circuit]]
* [[Tutorials/Traps|Traps]]
== Navigation ==
{{Navbox redstone|general}}
{{Navbox tutorials|mechanisms}}
[[Category:Redstone circuits|m]]
[[de:Technik:Technik]]
[[es:Tutoriales/Mecanismos]]
[[fr:Tutoriels/Mécanismes]]
[[ja:チュートリアル/メカニズム]]
[[pt:Comunidade:Tutoriais/Tipos de mecanismos no Minecraft]]
[[zh:Tutorial:机械]]