Example #1
0
 /**
  * Paste from the clipboard.
  *
  * @param editSession
  * @param newOrigin Position to paste it from
  * @param noAir True to not paste air
  * @throws MaxChangedBlocksException
  */
 public void paste(EditSession editSession, Vector newOrigin, boolean noAir, boolean entities)
     throws MaxChangedBlocksException {
   place(editSession, newOrigin.add(offset), noAir);
   if (entities) {
     pasteEntities(newOrigin.add(offset));
   }
 }