Package mods.railcraft.common.blocks.machine.beta

Examples of mods.railcraft.common.blocks.machine.beta.TileBoilerTank


    @Override
    public void renderBlock(RenderBlocks renderblocks, IBlockAccess world, int x, int y, int z, Block block) {
        TileEntity t = world.getTileEntity(x, y, z);
        if (t instanceof TileBoilerTank) {
            TileBoilerTank myTile = (TileBoilerTank) t;

            float x1, x2, z1, z2;
            x1 = z1 = BORDER;
            x2 = z2 = 1 - BORDER;

            if (myTile.isConnected()) {
                TileEntity tile = world.getTileEntity(x - 1, y, z);
                if (tile instanceof TileBoilerTank) {
                    x1 = 0;
                }
                tile = world.getTileEntity(x + 1, y, z);
View Full Code Here

TOP

Related Classes of mods.railcraft.common.blocks.machine.beta.TileBoilerTank

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.