๐ด Minecraft Redstone Basics
Learn redstone from the ground up. Components, logic gates, simple machines and contraptions for Minecraft 1.21. Redstone is Minecraft's version of electricity โ mastering it unlocks automation.
1 redstone tick = 0.1 seconds = 2 game ticks. A repeater's default delay is 1 tick (0.1 seconds).
Core Components
Redstone is a binary system โ components are either powered (on) or unpowered (off). Understanding each component is the first step to building machines.
๐ด Redstone Dust
The basic wire. Transmits power up to 15 blocks. Signal strength decreases by 1 per block traveled. Use repeaters to restore full signal. Redstone dust can climb one block up but not down (use slabs or stairs). Place dust on solid blocks, not glass.
๐ฏ๏ธ Redstone Torch
Provides constant power. Inverts input โ if the block a torch is on gets powered, the torch turns off. This inversion is the basis of logic gates. Torches burn out if toggled too fast (8+ times per second).
๐ Repeater
Restores full signal strength (15). Adds adjustable delay: 1, 2, 3 or 4 ticks (0.1-0.4 seconds). Also acts as a diode โ signal only flows one way. Right-click to change delay. Lock a repeater by powering another repeater into its side โ locks the signal in place.
โ๏ธ Comparator
Two modes: Compare mode (default) โ output power equal to rear input if rear input signal โฅ side input, otherwise 0. Subtract mode (right-click) โ output = rear signal โ side signal. Used for item sorting (measures chest fullness) and analog circuits.
โฌ๏ธ Piston & Sticky Piston
Pushes up to 12 blocks. Regular pistons push but do not pull. Sticky pistons (piston + slime ball) push and pull. Pistons cannot push blocks that are immovable (obsidian, bedrock, other pistons, furnaces, chests). Use slime/honey blocks to move more blocks.
๐๏ธ Observer
Detects block updates in front. Emits a 1-tick pulse when the block in front changes state (placed, broken, updated). Essential for flying machines, crop farms and fast clocks.
Logic Gates
Logic gates manipulate binary signals. Built from redstone torches, they form the basis of all computation in Minecraft.
- NOT Gate: Redstone torch on a block. Input powers the block โ torch turns off (inverted output).
- OR Gate: Two inputs connected by redstone dust to one output. Either input ON โ output ON.
- AND Gate: Two inputs through two NOT gates, then OR gate. Both inputs ON โ output ON. Built as: input A NOT โ torch, input B NOT โ torch, both torches to a wire.
- NAND Gate: AND + NOT. Only both inputs ON โ output OFF. Very compact.
- NOR Gate: OR + NOT. Any input ON โ output OFF.
- XOR Gate: Two inputs, output ON when inputs differ. Built with two torches and a wire crossing. Used for comparing signals.
- RS Latch: Two NOT gates cross-connected. Set (S) input turns output ON, Reset (R) turns output OFF. Memory cell โ remembers last input.
- T Flip-Flop: Toggles output on each input pulse. Built with two sticky pistons + redstone block or two repeaters in a loop with a torch.
Simple Contraptions
๐ช 2x2 Piston Door
Four sticky pistons (two top, two bottom) connected to a T flip-flop. Both sides open simultaneously. Use redstone blocks on the pistons for a clean look. Add a pressure plate for automatic opening.
๐พ Auto Crop Farm
Observer detects crop growth. Signal triggers a dispenser with bone meal and a piston that breaks the mature crop. Water stream collects drops into a hopper system.
๐ Item Sorter
Hopper pointing into chest, with 41-42 of the sorted item in one slot. Comparator reads chest fullness. If chest has 41+ items, comparator signal unlocks the hopper below, routing items to the correct chest.
โฌ๏ธ Slime Block Elevator
Alternating sticky pistons pushing slime blocks up. Player stands on slime and gets launched up. Use honey blocks to prevent sticking when descending.
โฑ๏ธ Hopper Timer
Two hoppers facing each other, one item cycling between them. Comparator reads one hopper โ pulse when the item passes. Adjustable by adding/removing items (3 items = 1 second approx).
๐ Combination Lock
Multiple RS latches. Each correct input sets a latch. All latches must be set to activate a final AND gate. Reset on wrong input. Build with levers and redstone lamps.
Advanced Concepts
Pulse Extenders: Extend short pulses into longer ones. Simple repeater chain or a comparator pulse extender (item in hopper, unlocked by pulse).
Flying Machines: Alternating observers and sticky pistons pushing slime/honey blocks. One-directional or bidirectional. Useful for tree farms and block transport.
Redstone Clocks: Repeater loop clocks produce a continuous pulse train. Hopper clocks are adjustable. Observer clocks are compact and fast.
Zero-Ticking: Pistons moved by 1-tick pulses move blocks instantly (without animation). Used for fast farms and compact machines. Requires careful timing.
Wireless Redstone: Use a cross dimension (Nether portal) to transmit signals long distance. Or use sculk sensors (vibration detection) for wireless in 1.21.
Related guides: Crafting Recipes ยท Farming & XP ยท Survival Tips