Examples of OreGas


Examples of mekanism.api.gas.OreGas

        resetStacks();
      }

      if(!reset)
      {
        OreGas gas = (OreGas)prevGas;
        String oreDictName = "ore" + gas.getName().substring(5);

        updateStackList(oreDictName);
      }
    }
View Full Code Here

Examples of mekanism.api.gas.OreGas

    //T4 Processing Recipes
    for(Gas gas : GasRegistry.getRegisteredGasses())
    {
      if(gas instanceof OreGas && !((OreGas)gas).isClean())
      {
        OreGas oreGas = (OreGas)gas;
       
        RecipeHandler.addChemicalWasherRecipe(new GasStack(oreGas, 1), new GasStack(oreGas.getCleanGas(), 1));
        RecipeHandler.addChemicalCrystallizerRecipe(new GasStack(oreGas.getCleanGas(), 200), new ItemStack(Crystal, 1, Resource.getFromName(oreGas.getName()).ordinal()));
      }
    }
   
    //Chemical Dissolution Chamber Recipes
    RecipeHandler.addChemicalDissolutionChamberRecipe(new ItemStack(Blocks.obsidian), new GasStack(GasRegistry.getGas("obsidian"), 1000));
View Full Code Here

Examples of mekanism.api.gas.OreGas

   
    for(Resource resource : Resource.values())
    {
      String name = resource.getName();
     
      OreGas clean = (OreGas)GasRegistry.register(new OreGas("clean" + name, "oregas." + name.toLowerCase()).setVisible(false));
      GasRegistry.register(new OreGas(name.toLowerCase(), "oregas." + name.toLowerCase()).setCleanGas(clean).setVisible(false));
    }
   
    Mekanism.proxy.preInit();
   
    //Register infuses
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.