use of com.fastasyncworldedit.core.extent.clipboard.WorldCopyClipboard in project FastAsyncWorldEdit by IntellectualSites.
the class EditSession method lazyCopy.
@Override
public Clipboard lazyCopy(Region region) {
WorldCopyClipboard faweClipboard = new WorldCopyClipboard(() -> this, region);
faweClipboard.setOrigin(region.getMinimumPoint());
return faweClipboard;
}
use of com.fastasyncworldedit.core.extent.clipboard.WorldCopyClipboard in project FastAsyncWorldEdit by IntellectualSites.
the class Extent method lazyCopy.
/**
* Lazily copy a region
*
* @param region
* @return
*/
default Clipboard lazyCopy(Region region) {
WorldCopyClipboard faweClipboard = new WorldCopyClipboard(() -> this, region);
faweClipboard.setOrigin(region.getMinimumPoint());
return faweClipboard;
}
use of com.fastasyncworldedit.core.extent.clipboard.WorldCopyClipboard in project FastAsyncWorldEdit by IntellectualSites.
the class ParallelQueueExtent method lazyCopy.
/**
* Lazily copy a region
*/
@Override
public Clipboard lazyCopy(Region region) {
Clipboard clipboard = new WorldCopyClipboard(() -> this, region);
clipboard.setOrigin(region.getMinimumPoint());
return clipboard;
}
Aggregations