Package api.util

Class Schematic

java.lang.Object
api.util.Schematic

public class Schematic extends Object
  • Field Details

    • sizeX

      public int sizeX
    • sizeY

      public int sizeY
    • sizeZ

      public int sizeZ
  • Constructor Details

  • Method Details

    • loadFromNBT

      public void loadFromNBT(NBTTagCompound tag)
    • processBlockData

      protected void processBlockData(byte[] blockIDs, byte[] blockIDsAdd, byte[] metadata)
    • putBlockAtCoords

      protected void putBlockAtCoords(int x, int y, int z, BlockState blockState)
    • processEntityData

      protected void processEntityData(NBTTagCompound tag)
    • processTileEntityData

      protected void processTileEntityData(NBTTagCompound tag)
    • addSchematicToWorld

      public void addSchematicToWorld(World world, int x, int y, int z)
    • copy

      public Schematic 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

      protected BlockPos getCoordsForIndex(int index)
    • getBlockAtCoords

      public BlockState getBlockAtCoords(int x, int y, int z)
    • getSizeX

      public int getSizeX()
    • getSizeY

      public int getSizeY()
    • getSizeZ

      public int getSizeZ()