How to clone relative to an entity's coordinates? [duplicate]
This is kind of a sequel to the other post I made, 'Scoreboard/Cloning Help' and someone said maybe I could clone stuff relative to an entity's coordinates, I thought it was an amazing idea, but he didn't post any command to go with it.
If you guys could help my find how to do that, that would be awesome.
Best Answer
Much like what Haroun Mohamed-Fakier said, all you need to do is use the /execute command.
The command would look something like this.
/execute @e[type=Zombie] ~ ~ ~ /clone ~ ~-1 ~ ~ ~-1 ~ ~ ~2 ~
This command will target all Zombies and clone the block below them to right above them.
Hope this helped and if you have any questions just comment and I'll do my best to answer.
Pictures about "How to clone relative to an entity's coordinates? [duplicate]"
![How to clone relative to an entity's coordinates? [duplicate] - Delighted female relatives sitting together on wooden bench in park and browsing mobile phone while learning using How to clone relative to an entity's coordinates? [duplicate] - Delighted female relatives sitting together on wooden bench in park and browsing mobile phone while learning using](/assets/images/how_to_clone_relative_to_an_entity39s_coordinates_duplicate_1.jpeg)
![How to clone relative to an entity's coordinates? [duplicate] - Happy family members talking and sitting down to eat tasty food at big wooden table in backyard in daytime How to clone relative to an entity's coordinates? [duplicate] - Happy family members talking and sitting down to eat tasty food at big wooden table in backyard in daytime](/assets/images/how_to_clone_relative_to_an_entity39s_coordinates_duplicate_2.jpeg)
![How to clone relative to an entity's coordinates? [duplicate] - Side view of smiling adult female helping aged mom in using of mobile phone while sitting together in park How to clone relative to an entity's coordinates? [duplicate] - Side view of smiling adult female helping aged mom in using of mobile phone while sitting together in park](/assets/images/how_to_clone_relative_to_an_entity39s_coordinates_duplicate_3.jpeg)
How do you copy entity data in Minecraft?
4 AnswersDo structure blocks copy entities?
Open the inventory. Click on the item you want to duplicate to pick it up. Hold your mouse's scroll wheel button and drag it over empty inventory slots to duplicate it as stacks in your inventory.How do you duplicate items in Minecraft with commands?
This can be done with the command /spawn point. Get the coordinates of where the new village will spawn. Put all of these coordinates in a command block with the following syntax: "clone (corner 1 of villager coordinates) (corner 2 of village coordinates) (coordinates of new village spawn point)."Cloning from entity to entity in Minecraft
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Elina Fairytale, Andrea Piacquadio, Askar Abayev, Andrea Piacquadio
