Package pneumaticCraft.client.render.itemblock

Examples of pneumaticCraft.client.render.itemblock.RenderItemTubeModule


        Collection<Class<? extends TubeModule>> modules = ModuleRegistrator.modules.values();
        Iterator<Item> itemIterator = moduleItems.iterator();
        Iterator<Class<? extends TubeModule>> moduleIterator = modules.iterator();
        while(itemIterator.hasNext()) {
            try {
                MinecraftForgeClient.registerItemRenderer(itemIterator.next(), new RenderItemTubeModule(moduleIterator.next().newInstance()));
            } catch(Exception e) {
                Log.error("Something happened when registering tube module renderers!");
                e.printStackTrace();
            }
        }
View Full Code Here

TOP

Related Classes of pneumaticCraft.client.render.itemblock.RenderItemTubeModule

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.