diff options
| author | Draknyte1 <Draknyte1@hotmail.com> | 2016-09-04 22:34:46 +1000 |
|---|---|---|
| committer | Draknyte1 <Draknyte1@hotmail.com> | 2016-09-04 22:34:46 +1000 |
| commit | d8dc6e3e04024ea63db16b6859c9f1f08101a924 (patch) | |
| tree | 0813dafc578bf4b167eb1b447d2f6625e68d0332 /src/Java/miscutil/xmod/gregtech/registration | |
| parent | 9760d0067df95c30189c3b67c0ec1d13a021a14e (diff) | |
| download | GT5-Unofficial-d8dc6e3e04024ea63db16b6859c9f1f08101a924.tar.gz GT5-Unofficial-d8dc6e3e04024ea63db16b6859c9f1f08101a924.tar.bz2 GT5-Unofficial-d8dc6e3e04024ea63db16b6859c9f1f08101a924.zip | |
+ Added some base Meta Tile Entities to handle my custom recipe system.
+ Added some Test recipes for the Dehydrator.
+ Added 3 different recipe handlers for the Dehydrator.
% Added a new Method in FluidUtils that accepts a fluidstack and amount to return a fluidstack[].
Diffstat (limited to 'src/Java/miscutil/xmod/gregtech/registration')
| -rw-r--r-- | src/Java/miscutil/xmod/gregtech/registration/gregtech/GregtechDehydrator.java | 99 |
1 files changed, 78 insertions, 21 deletions
diff --git a/src/Java/miscutil/xmod/gregtech/registration/gregtech/GregtechDehydrator.java b/src/Java/miscutil/xmod/gregtech/registration/gregtech/GregtechDehydrator.java index 9a210cd555..d5b61eae7a 100644 --- a/src/Java/miscutil/xmod/gregtech/registration/gregtech/GregtechDehydrator.java +++ b/src/Java/miscutil/xmod/gregtech/registration/gregtech/GregtechDehydrator.java @@ -1,11 +1,11 @@ package miscutil.xmod.gregtech.registration.gregtech; -import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicMachine_GT_Recipe; -import gregtech.api.util.GT_Recipe; import miscutil.core.lib.CORE; import miscutil.core.lib.LoadedMods; import miscutil.core.util.Utils; import miscutil.xmod.gregtech.api.enums.GregtechItemList; +import miscutil.xmod.gregtech.api.metatileentity.implementations.base.GT_MTE_BasicMachine_Custom_Recipe; +import miscutil.xmod.gregtech.api.util.GregtechRecipe; public class GregtechDehydrator { @@ -15,28 +15,85 @@ public class GregtechDehydrator Utils.LOG_INFO("Gregtech5u Content | Registering Chemical Dehydrators."); run1(); } - + } private static void run1() { - - GregtechItemList.GT_Dehydrator_EV.set(new GT_MetaTileEntity_BasicMachine_GT_Recipe(813, "advancedmachine.dehydrator.tier.01", "Advanced Chemical Dehydrator I", 4, "Remind Alkalus to add something here."+CORE.GT_Tooltip, - GT_Recipe.GT_Recipe_Map.sSifterRecipes, 1, 9, 0, 2, 5, "Sifter.png", "", false, false, 0, "SIFTER", null).getStackForm(1L)); - GregtechItemList.GT_Dehydrator_IV.set(new GT_MetaTileEntity_BasicMachine_GT_Recipe(814, "advancedmachine.dehydrator.tier.02", "Advanced Chemical Dehydrator II", 5, "Remind Alkalus to add something here."+CORE.GT_Tooltip, - GT_Recipe.GT_Recipe_Map.sSifterRecipes, 1, 9, 0, 2, 5, "Sifter.png", "", false, false, 0, "SIFTER", null).getStackForm(1L)); - GregtechItemList.GT_Dehydrator_LuV.set(new GT_MetaTileEntity_BasicMachine_GT_Recipe(815, "advancedmachine.dehydrator.tier.03", "Advanced Chemical Dehydrator III", 6, "Remind Alkalus to add something here."+CORE.GT_Tooltip, - GT_Recipe.GT_Recipe_Map.sSifterRecipes, 1, 9, 0, 2, 5, "Sifter.png", "", false, false, 0, "SIFTER", null).getStackForm(1L)); - GregtechItemList.GT_Dehydrator_ZPM.set(new GT_MetaTileEntity_BasicMachine_GT_Recipe(816, "advancedmachine.dehydrator.tier.04", "Advanced Chemical Dehydrator IV", 7, "Remind Alkalus to add something here."+CORE.GT_Tooltip, - GT_Recipe.GT_Recipe_Map.sSifterRecipes, 1, 9, 0, 2, 5, "Sifter.png", "", false, false, 0, "SIFTER", null).getStackForm(1L)); - - //GregtechItemList.GT_Dehydrator_EV.set(new GregtechMetaTileEntitySolarGenerator(813, "dehydrator.tier.01", "Extreme Voltage Chemical Dehydrator", 4).getStackForm(1L)); - //GregtechItemList..set(new GregtechMetaTileEntitySolarGenerator(814, "dehydrator.tier.02", "Insane Voltage Chemical Dehydrator", 5).getStackForm(1L)); - //GregtechItemList..set(new GregtechMetaTileEntitySolarGenerator(815, "dehydrator.tier.03", "Ludicrous Voltage Chemical Dehydrator", 6).getStackForm(1L)); - //GregtechItemList..set(new GregtechMetaTileEntitySolarGenerator(816, "dehydrator.tier.04", "ZPM Voltage Chemical Dehydrator", 7).getStackForm(1L)); - - - - + + /* + + public GT_MetaTileEntity_BasicMachine_GT_Recipe( + int aID, String aName, String aNameRegional, int aTier, + String aDescription, + GT_Recipe_Map aRecipes, + int aInputSlots, int aOutputSlots, + int aTankCapacity, + int aGUIParameterA, int aGUIParameterB, + String aGUIName, String aSound, + boolean aSharedTank, boolean aRequiresFluidForFiltering, + int aSpecialEffect, + String aOverlays, + Object[] aRecipe) { + + */ + + GregtechItemList.GT_Dehydrator_EV.set(new GT_MTE_BasicMachine_Custom_Recipe( + 813, "advancedmachine.dehydrator.tier.01", "Chemical Dehydrator I", 4, + "Remind Alkalus to add something here."+System.getProperty("line.separator")+CORE.GT_Tooltip, + GregtechRecipe.Gregtech_Recipe_Map.sChemicalDehydratorRecipes, + 2, 9, + 10000, + 2, 5, + "Dehydrator.png", "", + false, false, + 0, + "UNBOXINATOR", + null).getStackForm(1L)); + GregtechItemList.GT_Dehydrator_IV.set(new GT_MTE_BasicMachine_Custom_Recipe( + 814, "advancedmachine.dehydrator.tier.02", "Chemical Dehydrator II", 5, + "Remind Alkalus to add something here."+System.getProperty("line.separator")+CORE.GT_Tooltip, + GregtechRecipe.Gregtech_Recipe_Map.sChemicalDehydratorRecipes, + 2, 9, + 10000, + 2, 5, + "Dehydrator.png", "", + false, false, + 0, + "UNBOXINATOR", + null).getStackForm(1L)); + GregtechItemList.GT_Dehydrator_LuV.set(new GT_MTE_BasicMachine_Custom_Recipe( + 815, "advancedmachine.dehydrator.tier.03", "Chemical Dehydrator III", 6, + "Remind Alkalus to add something here."+System.getProperty("line.separator")+CORE.GT_Tooltip, + GregtechRecipe.Gregtech_Recipe_Map.sChemicalDehydratorRecipes, + 2, 9, + 10000, + 2, 5, + "Dehydrator.png", "", + false, false, + 0, + "UNBOXINATOR", + null).getStackForm(1L)); + GregtechItemList.GT_Dehydrator_ZPM.set(new GT_MTE_BasicMachine_Custom_Recipe( + 816, "advancedmachine.dehydrator.tier.04", "Chemical Dehydrator IV", 7, + "Remind Alkalus to add something here."+System.getProperty("line.separator")+CORE.GT_Tooltip, + GregtechRecipe.Gregtech_Recipe_Map.sChemicalDehydratorRecipes, + 2, 9, + 10000, + 2, 5, + "Dehydrator.png", "", + false, false, + 0, + "UNBOXINATOR", + null).getStackForm(1L)); + + //GregtechItemList.GT_Dehydrator_EV.set(new GregtechMetaTileEntitySolarGenerator(813, "dehydrator.tier.01", "Extreme Voltage Chemical Dehydrator", 4).getStackForm(1L)); + //GregtechItemList..set(new GregtechMetaTileEntitySolarGenerator(814, "dehydrator.tier.02", "Insane Voltage Chemical Dehydrator", 5).getStackForm(1L)); + //GregtechItemList..set(new GregtechMetaTileEntitySolarGenerator(815, "dehydrator.tier.03", "Ludicrous Voltage Chemical Dehydrator", 6).getStackForm(1L)); + //GregtechItemList..set(new GregtechMetaTileEntitySolarGenerator(816, "dehydrator.tier.04", "ZPM Voltage Chemical Dehydrator", 7).getStackForm(1L)); + + + + } } |
