Package api.util
Class Schematic
java.lang.Object
api.util.Schematic
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSchematicToWorld(World world, int x, int y, int z) copy()getBlockAtCoords(int x, int y, int z) protected BlockPosgetCoordsForIndex(int index) protected intgetIndexForCoords(int x, int y, int z) intgetSizeX()intgetSizeY()intgetSizeZ()voidvoidmirror(boolean useXPlane) protected voidprocessBlockData(byte[] blockIDs, byte[] blockIDsAdd, byte[] metadata) protected voidprotected voidprotected voidputBlockAtCoords(int x, int y, int z, BlockState blockState) voidrotate(boolean clockwise) voidrotate(boolean clockwise, int count)
-
Field Details
-
sizeX
public int sizeX -
sizeY
public int sizeY -
sizeZ
public int sizeZ
-
-
Constructor Details
-
Schematic
-
-
Method Details
-
loadFromNBT
-
processBlockData
protected void processBlockData(byte[] blockIDs, byte[] blockIDsAdd, byte[] metadata) -
putBlockAtCoords
-
processEntityData
-
processTileEntityData
-
addSchematicToWorld
-
copy
-
rotate
public void rotate(boolean clockwise) -
rotate
public void rotate(boolean clockwise, int count) -
mirror
public void mirror(boolean useXPlane) -
getIndexForCoords
protected int getIndexForCoords(int x, int y, int z) -
getCoordsForIndex
-
getBlockAtCoords
-
getSizeX
public int getSizeX() -
getSizeY
public int getSizeY() -
getSizeZ
public int getSizeZ()
-