
What you are building
This machine is a specialized redstone contraption designed to duplicate rails automatically. It is a highly efficient way to acquire large quantities of rails for your transportation networks.
You can build this compact unit almost anywhere in your world where you have a small flat area. It is perfect for integration into industrial hubs or near your main base storage system.
Materials 193 blocks · 17 types
- Glass951 stack + 31
- Grass Block34
- Dirt25
- Hopper13
- Cobblestone Stairs4
- Slime Block4
- Cobblestone3
- Observer3
- Chest2
- Wall Torch2
- Spruce Door2
- Rail1
- Powered Rail1
- Piston Head1
- Sticky Piston1
- Lever1
- Sea Lantern1
How it works
The mechanism utilizes a sticky piston attached to a slime block setup to rapidly push and pull rails, causing them to break into item form due to the way the game engine handles block updates in this configuration. Observers are used to detect state changes and keep the piston cycling efficiently.
Hoppers are positioned directly underneath the duplication zone to collect the produced items, which are then funneled into a connected chest for easy retrieval.
How to use it
To start the machine, simply toggle the lever located on the cobblestone structure. Ensure your hopper chain is connected to your storage chest to collect the output. Always keep the area clear of debris to ensure items flow correctly into the collection hoppers.
Constructing the Foundation and Mechanism Base
Layers 1–4 of 7Start by laying out the grass block and dirt base, then install the grid of hoppers. Place the cobblestone stairs to form the frame and mounting point for the redstone components. Add the slime blocks and the first set of observers that form the core movement assembly.

Finalizing the Redstone and Rail Assembly
Layers 5–7 of 7Install the sticky piston and ensure it is properly aligned with the slime block assembly. Place the final observers, the lever, and the rails on top of the mechanism. Finish by positioning the sea lantern for lighting and verifying that all components are correctly oriented for the duplication cycle to begin.

Finishing touches
Before relying on this for large-scale projects, test the machine in a creative world to ensure the timing of the sticky piston and observers functions correctly in your specific game instance. Ensure the surrounding area is well-lit to prevent mob interference, and check that no blocks are obstructing the movement of the slime blocks.
Frequently Asked Questions
Can I use this for powered rails too?
Yes, the mechanics of this contraption are generally compatible with various types of rails, but always test with the specific rail type you need.
What happens if the items stop dropping?
Check that the sticky piston is still receiving a redstone signal and that the observers have not been moved or broken. Verify that no blocks have been placed accidentally within the movement path of the slime blocks.