Package pneumaticCraft.common.tileentity

Examples of pneumaticCraft.common.tileentity.TileEntityPressureChamberWall


    @Override
    @SideOnly(Side.CLIENT)
    public IIcon getIcon(IBlockAccess world, int x, int y, int z, int side){
        if(world.getBlockMetadata(x, y, z) > 5) return getConnectedIcon(world, x, y, z, side);
        TileEntityPressureChamberWall te = (TileEntityPressureChamberWall)world.getTileEntity(x, y, z);
        TileEntityPressureChamberValve core = te.getCore();
        if(core == null) {
            return textures[0];
        } else {
            boolean xMid = x != core.multiBlockX && x != core.multiBlockX + core.multiBlockSize - 1;
            boolean yMid = y != core.multiBlockY && y != core.multiBlockY + core.multiBlockSize - 1;
View Full Code Here

TOP

Related Classes of pneumaticCraft.common.tileentity.TileEntityPressureChamberWall

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.