Package universalelectricity.core.block

Examples of universalelectricity.core.block.IConductor


        {
            TileEntity te = worldObj.getBlockTileEntity(x, y, z);
           
            if (te instanceof IConductor)
            {
                IConductor wireTile = (IConductor) te;
               
//                ElectricityPack getProduced = wireTile.getNetwork().getProduced();
//               
//                player.addChatMessage("Electric Expansion: " + ElectricityDisplay.getDisplay(getProduced.amperes, ElectricUnit.AMPERE) + ", "
//                        + ElectricityDisplay.getDisplay(getProduced.voltage, ElectricUnit.VOLTAGE) + ", " + ElectricityDisplay.getDisplay(getProduced.getWatts() * 20, ElectricUnit.WATT));
               
                if (ElectricExpansion.debugRecipes)
                    player.addChatMessage(wireTile.getNetwork().toString());
               
                return true;
            }
            else
            {
View Full Code Here

TOP

Related Classes of universalelectricity.core.block.IConductor

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.