Package mods.railcraft.common.blocks.tracks

Examples of mods.railcraft.common.blocks.tracks.BlockTrack


    private static Block blockSignal;

    public static void registerBlockTrack() {
        if (blockTrack == null && RailcraftConfig.isBlockEnabled("track")) {
            int renderId = Railcraft.getProxy().getRenderId();
            blockTrack = new BlockTrack(renderId).setBlockName("railcraft.track");
            GameRegistry.registerBlock(blockTrack, ItemTrack.class, blockTrack.getUnlocalizedName());
            blockTrack.setHarvestLevel("crowbar", 0);
            blockTrack.setHarvestLevel("pickaxe", 0);
        }
    }
View Full Code Here

TOP

Related Classes of mods.railcraft.common.blocks.tracks.BlockTrack

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.