Examples of IFuel


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

Examples of buildcraft.api.fuels.IFuel

      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
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.