Copying blocks from one position to another

Discussion in 'Plugin Development' started by MarkusK96, Mar 20, 2015.

Thread Status:
Not open for further replies.
  1. Offline



    In my plugin I need to copy a selected region of blocks from one poition to another. Is there any easy way like using the new clone command?

    Thanks for help!
  2. Offline


    Well, you could put all the blocks from one location to the other, and save them by using a string such as X.0Y.1.Z.1 and have three for loops that increment a number, get the block and its data from the map, and then place it to the new location.

    It's that simple.
  3. Offline


Thread Status:
Not open for further replies.

Share This Page