Tutorials/Block and item duplication

This page seeks to teach you how to clone items and blocks without building a separate farm for them, in vanilla Survival mode. It can be treated as an "everything farm," since it can "farm" things that can't normally be farmed, like diamonds and dragon eggs.

Note that these techniques are considered "cheating" by many people and Mojang tries to remove the ability to duplicate in Survival at almost every update. On some servers, these techniques are ban-able offenses.

The best way to duplicate a block is to turn it into an item first, then duplicate the item. But, there are other ways to duplicate the blocks themselves, though they only work for certain blocks. Shulker boxes make item duplication much easier because they allow for up to 1,729 items to be cloned at once (including the shulker box).

Why Bother?
Duplicating items and blocks can be very useful. For example, let's say you wanted to obtain enormous amounts of glass or sand. Going into a desert and mining it yourself is extremely time-consuming, so a sand duplicator can be very useful.

If you wanted to break a lot of bedrock using this technique, the player can build a dragon egg duplicator to create more dragon eggs.

Deadly Method
This method is extremely deadly, but not necessarily to the player. This method involves taking a mob that can carry items (such as a zombie, donkey, or llama) down to a very low health, as in a quarter of a heart or less. Using extremely precise timing, kill that mob as it travels through an end portal. The items equipped and the mob should appear in the other dimension. It works by tricking the game into thinking the mob is alive on one end of the portal and dead on the other side. The live mob travels through the portal still carrying the items, and the dead mob's items are also sent into the portal, allowing the player at the other end to collect the cloned items and the mob carrying them.

Perfect Timing
There are numerous timing-related ways to duplicate items. Most of these are only possible in Singleplayer since you have the ability to pause the game and log out at any time.

Dropped Items
When you drop items and then relog at exactly the same time that you pick them up, you can duplicate what you dropped.

Piston Duplication
(Patched)

(PATCHED) When an item frame is removed (broken by the player) from the rear of a piston as the piston is retracting, the correct timing will yield two items of the item that was within the frame. This will work with any blocks or items inside of the frame, with shulker boxes being able to duplicate multiple items at once. This method works in both singleplayer and multiplayer game modes.

Multiplayer-Exclusive
This requires a multiplayer or LAN server. There are two variations to this method.

Same Player Twice
There is a way to trick the game into logging in the same player twice on one server. To do this, start two instances of ’’Minecraft’’. This requires starting a new instance of the Launcher so that they don’t interfere with each other. Log them both on the same server at the same time. By doing this, the game will render two of the same player. You can then kill the copied player and double your inventory. may not work in later updates

Player Data Editing
This requires two different players and access to the server files. The server stores the contents of the inventory as separate files for each player. All you have to do is replace the inventory data of one player with the inventory data of another player. It is best if the receiver of this has an empty inventory.

Block Duplication
This is possible by randomly powering a 7 by 7 grid of sticky pistons with a checkered pattern of slime blocks and the block you want to duplicate. you can use a 7 by 7 grid of observers to randomly power the pistons by detecting a 7 by 7 grid of repeaters with random ticks on them. To power the repeaters, use a slow redstone clock. However, if this method is too complicated or expensive, there are ways to duplicate certain clocks using easier methods.

Rail Duplication
This can be accomplished by moving rails in such a way that it is both pushed and dropped as an item. This happens because before pushing, the piston creates a list of the blocks it is about to push. Then, the blocks underneath the rails are moved first, causing the rails to pop off as items; then the piston moves the rails from the list of blocks it created previously, placing the rails in the world.

TNT Duplication
TNT duplication works in a similar way as rail duplication. A TNT block is BUD-powered, such that when the contraption is pushed by a piston, the TNT is updated and ignites into a primed TNT entity. Then, the piston moves the TNT from the list of blocks it created before the TNT was ignited, placing an un-ignited TNT block in the world. The primed TNT entity falls and explodes as usual, but there is still a TNT block left.

Gravity Block Duplication
There are many ways to do this, but the basic idea is the same.

A gravity-affected block is pushed toward an end portal. It becomes an entity as it falls into the portal, and it travels into the other dimension's "spawn point." But, before it's removed from the original dimension, it bounces off an entity in the portal (in a vehicle so it won't go through), and is caught by some pistons. It then turns into a block and is returned to its original location. This process can be looped using redstone. It works for any block that is affected by gravity, except for primed TNT because it would blow up the contraption.

Dirt Duplication
Dirt duplication relies on the crafting recipe for coarse dirt. Coarse dirt is crafted with 2 dirt blocks and the player gets 4 coarse dirt from it. If the player hoes the coarse dirt, it becomes normal dirt. Some of this new dirt created can go into crafting more coarse dirt. You can continue this process infinitely, as long as you built a gravel duplicator using the method above.

Bed Duplication
Because each bed is made out of 2 blocks, an explosion near the bed can make the bed drop 2 bed items, meaning you can spawn 2 beds (4 bed blocks) when you had 1. (2 bed blocks) You can repeat this and get infinite beds.

Anvil Naming (Ver. ???-1.5.2+)
(Duplicates any Stackable Items only)

When naming a stack of items in an Anvil, you can use the Take Half option to receive the output items without depleting the original stack. As long as you do not not the final re-named item, you can go to the original stack and pick it up to start more or just leave the Anvil interface if you are done. Items duplicated this way won't work for quick use in a Recipe, though certainly can be used for Classic Crafting and any other use. However, if you wish to revert an item to the default name, you can do so by Crafing it into another item then Crafting it back to the original (such as Redstone Block -> Redstone Dust x9 -> Redstone Block), or by placing it as a Block then breaking it back into an Item.
 * A way to speed this up is to hit Take Half then Toss Item while standing close to the Anvil, so you can rapidly go through a full stack without having to manually move each selection.
 * Sometimes a Block won't lose it's Name when broken into an Item, such as Shulker Boxes which are meant to keep their Name, or just randomly the name may stay with a regular Block and repeating the process will remove the Name. However, some items may break into different items, such as an Ender Chest dropping Obsidian, and the Obsidian will each retain the Ender Chest's name (this is likely a glitch).

Piston Chest (Ver. ???-1.5.2+)
(Duplicates all Items)

When a Chest is pushed by a Piston, the contents are backed up a split second before it is moved. If you are in the Chest interface and quick-move an item to your Inventory in that moment then you will receive the item and the chest will be moved with the item still in it as well. The recommended build is not automatic (but that certainly can be done). You need at least 1 Switch, 2 Pistons, 1 Chest, 10 Redstone Repeaters (set to maximum delay), 2 Redstone Dust, and 1 Button; this allows a setup where you can stand in the middle of a curved path of redstone from the button to the piston that will push the Chest without you having to do more than turn around after hitting the button to open the Chest and put the cursor over the item to duplicate (make sure to be angled so you can see the last 3 Redstone Repeaters outside the Chest interface). The timing to move the item is just before the Redstone signal moves to the final Redstone Repeater. It will take a bit of practice to get it right, but is pretty easy to do. The Switch is to be next to the second Piston, placed so it will push the Chest back into place.
 * This method makes mass-duplication possible with the use of a Shulker Box and moving the contents of one duplicated Box to the other, thus doubling how much you get each time, until you are duplicating an entire Box's worth of items.
 * This does run the risk of massive lag in your world, by creating too many Shulker Boxes with contents. The effect may be even greater in online worlds such as Realms.

Rapid Dispenser (Ver. ???)
(Duplicates some Stackable Items only)

This video will explain how to duplicate any ore using a dispenser and a redstone clock.

Both Editions
教程/方块和物品复制