Package buildcraft.api.power

Examples of buildcraft.api.power.PowerHandler.configure()


        float capacity = (float) (((IEnergyContainer) handler).getEnergyCapacity(ForgeDirection.UNKNOWN) * CompatibilityType.BUILDCRAFT.ratio);
        if(capacity < 1)
        {
            capacity = 1;
        }
        powerHandler.configure(0, capacity, 1, capacity);
      }

      powerHandler.configurePowerPerdition(0, 0);
      powerProviderMap.put(handler, powerHandler);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.