Package buildcraft.api.liquids

Examples of buildcraft.api.liquids.LiquidStack


 
 
  @Override
  public void burn() {
    currentOutput = 0;
    IronEngineFuel currentFuel = IronEngineFuel.getFuelForLiquid(new LiquidStack(liquidId, liquidQty, 0));
    if (currentFuel == null) return;
    if (!tile.isRedstonePoweredreturn;
    if (burnTime > 0 || liquidQty > 0) {
      if (burnTime > 0) {
        burnTime--;
View Full Code Here


  @Override
  public void update() {
    super.update();

    if (itemInInventory != null) {
      LiquidStack liquid = null;
      liquid = LiquidManager.getLiquidForFilledItem(itemInInventory);
      if (liquid != null) {
        if (fill(Orientations.Unknown, liquid, false) == liquid.amount) {
          fill(Orientations.Unknown, liquid, true);
          tile.setInventorySlotContents(0, Utils.consumeItem(itemInInventory));
View Full Code Here

 
  @Override
  public void burn() {
    currentOutput = 0;
    IronEngineFuel currentFuel = IronEngineFuel.getFuelForLiquid(new LiquidStack(liquidId, liquidQty, 0));
    if (currentFuel == null) return;
    if (!tile.isRedstonePoweredreturn;
    if (burnTime > 0 || liquidQty > 0) {
      if (burnTime > 0) {
        burnTime--;
View Full Code Here

  @Override
  public void update() {
    super.update();

    if (itemInInventory != null) {
      LiquidStack liquid = null;
      liquid = LiquidManager.getLiquidForFilledItem(itemInInventory);
      if (liquid != null) {
        if (fill(Orientations.Unknown, liquid, false) == liquid.amount) {
          fill(Orientations.Unknown, liquid, true);
          tile.setInventorySlotContents(0, Utils.consumeItem(itemInInventory));
View Full Code Here

TOP

Related Classes of buildcraft.api.liquids.LiquidStack

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.