GT5-Unofficial/main/java/gregtech/loaders/oreprocessing/ProcessingGearSmall.java

32 lines
1.4 KiB
Java
Raw Normal View History

2015-04-23 16:14:22 +00:00
/* 1: */ package gregtech.loaders.oreprocessing;
/* 2: */
/* 3: */ import gregtech.api.enums.GT_Values;
/* 4: */ import gregtech.api.enums.ItemList;
/* 5: */ import gregtech.api.enums.Materials;
/* 6: */ import gregtech.api.enums.OrePrefixes;
/* 7: */ import gregtech.api.interfaces.IOreRecipeRegistrator;
/* 8: */ import gregtech.api.interfaces.internal.IGT_RecipeAdder;
/* 9: */ import gregtech.api.util.GT_Utility;
/* 10: */ import net.minecraft.item.ItemStack;
/* 11: */
/* 12: */ public class ProcessingGearSmall
/* 13: */ implements IOreRecipeRegistrator
/* 14: */ {
/* 15: */ public ProcessingGearSmall()
/* 16: */ {
/* 17:15 */ OrePrefixes.gearGtSmall.add(this);
/* 18: */ }
/* 19: */
/* 20: */ public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDictName, String aModName, ItemStack aStack)
/* 21: */ {
/* 22:20 */ if (aMaterial.mStandardMoltenFluid != null) {
/* 23:20 */ GT_Values.RA.addFluidSolidifierRecipe(ItemList.Shape_Mold_Gear_Small.get(0L, new Object[0]), aMaterial.getMolten(144L), GT_Utility.copyAmount(1L, new Object[] { aStack }), 16, 8);
/* 24: */ }
/* 25: */ }
/* 26: */ }
/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
* Qualified Name: gregtech.loaders.oreprocessing.ProcessingGearSmall
* JD-Core Version: 0.7.0.1
*/