Here are the examples of the java api cd4017be.lib.util.MovedBlock taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : Teleporter.java
with MIT License
from CD4017BE
with MIT License
from CD4017BE
protected static void swap(DimPos pa, DimPos pb, HashMap<DimPos, NBTTagCompound> addedTiles) {
if (!canTeleport(pa.getWorldServer(), pa) || !canTeleport(pb.getWorldServer(), pb))
return;
MovedBlock a = cut(pa, addedTiles);
MovedBlock b = cut(pb, addedTiles);
a.paste(pb, addedTiles);
b.paste(pa, addedTiles);
}