use of minechem.tileentity.multiblock.ghostblock.GhostBlockTileEntity in project Minechem by iopleke.
the class BlueprintProjectorTileEntity method createGhostBlock.
private void createGhostBlock(int x, int y, int z, int blockID) {
worldObj.setBlock(x, y, z, MinechemBlocksGeneration.ghostBlock, 0, 3);
TileEntity tileEntity = worldObj.getTileEntity(x, y, z);
if (tileEntity instanceof GhostBlockTileEntity) {
GhostBlockTileEntity ghostBlock = (GhostBlockTileEntity) tileEntity;
ghostBlock.setBlueprintAndID(blueprint, blockID);
}
}
Aggregations