Package mods.railcraft.common.blocks.signals

Examples of mods.railcraft.common.blocks.signals.TileSwitchBase


    }

    @Override
    public void renderBlock(RenderBlocks renderblocks, IBlockAccess world, int x, int y, int z, Block block) {
//        BlockSignal structure = (BlockSignal)block;
        TileSwitchBase tile = (TileSwitchBase) world.getTileEntity(x, y, z);
        ITrackSwitch track = null;
        boolean powered = false;
        int facing = 0;
        if (tile != null) {
            track = tile.getSwitchTrack();
            facing = tile.getFacing();
            powered = tile.isPowered();
        }

        setTextureCore();

        // Core
View Full Code Here

TOP

Related Classes of mods.railcraft.common.blocks.signals.TileSwitchBase

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.