Package buildcraft.api.fuels

Examples of buildcraft.api.fuels.IFuel


    if(fluid == null) {
      return null;
    }
    IFluidFuel res = fuels.get(fluid.getName());
    if(res == null && !fuels.containsKey(fluid.getName()) && BuildcraftFuelRegistry.fuel != null) {
      IFuel bcFuel = BuildcraftFuelRegistry.fuel.getFuel(fluid);
      if(bcFuel != null) {
        res = new FuelBC(bcFuel);
      }
      fuels.put(fluid.getName(), res);
    }   
View Full Code Here


      return fuels.get(gas.getName());
    }

    if(ModAPIManager.INSTANCE.hasAPI("BuildCraftAPI|fuels") && gas.hasFluid())
    {
      IFuel bcFuel = BuildcraftFuelRegistry.fuel.getFuel(gas.getFluid());
     
      if(bcFuel != null)
      {
        FuelGas fuel = new FuelGas(bcFuel);
        fuels.put(gas.getName(), fuel);
View Full Code Here

TOP

Related Classes of buildcraft.api.fuels.IFuel

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.