Package buildcraft.api.power

Examples of buildcraft.api.power.PowerHandler$AnonymousBattery


    public TileRockCrusher() {
        super(EnumMachineAlpha.ROCK_CRUSHER.getTag() + ".name", 18, patterns);

        if (RailcraftConfig.machinesRequirePower())
            powerHandler = new PowerHandler(this, PowerHandler.Type.MACHINE);
        initPowerProvider();
    }
View Full Code Here


    }

    public TileRollingMachine() {
        if (RailcraftConfig.machinesRequirePower()) {
            powerHandler = new PowerHandler(this, PowerHandler.Type.MACHINE);
            initPowerProvider();
        }
    }
View Full Code Here

  public PipePowerWood(Item item) {
    super(new PipeTransportPower(), item);

    battery = new RFBattery(320 * 50, 320, 0);

    powerHandler = new PowerHandler(this, Type.PIPE);
    powerHandler.configure(0, 500, 1, 1500);
    powerHandler.setPerdition(new PerditionCalculator(PerditionCalculator.MIN_POWERLOSS));
    transport.initFromPipe(getClass());
  }
View Full Code Here

    public TileEntityKineticCompressor(){
        super(PneumaticValues.DANGER_PRESSURE_KINETIC_COMPRESSOR, PneumaticValues.MAX_PRESSURE_KINETIC_COMPRESSOR, PneumaticValues.VOLUME_KINETIC_COMPRESSOR);
        inventory = new ItemStack[INVENTORY_SIZE];

        powerHandler = new PowerHandler(this, Type.MACHINE);
        powerHandler.configure(1.5F, 300, 10, 1000);
        powerHandler.configurePowerPerdition(1, 1);

        setUpgradeSlots(new int[]{UPGRADE_SLOT_START, 1, 2, UPGRADE_SLOT_END});
    }
View Full Code Here

    public TileEntityPneumaticEngine(){
        super(PneumaticValues.DANGER_PRESSURE_PNEUMATIC_ENGINE, PneumaticValues.MAX_PRESSURE_PNEUMATIC_ENGINE, PneumaticValues.VOLUME_PNEUMATIC_ENGINE);
        inventory = new ItemStack[INVENTORY_SIZE];

        powerHandler = new PowerHandler(this, Type.ENGINE);
        powerHandler.configure(1.5F, 300, 10, 1000);
        powerHandler.configurePowerPerdition(1, 100);

        setUpgradeSlots(new int[]{UPGRADE_SLOT_START, 1, 2, UPGRADE_SLOT_END});
    }
View Full Code Here

TOP

Related Classes of buildcraft.api.power.PowerHandler$AnonymousBattery

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.