diff options
author | Alkalus <Draknyte1@hotmail.com> | 2020-11-05 02:11:29 +0000 |
---|---|---|
committer | Alkalus <Draknyte1@hotmail.com> | 2020-11-05 02:11:29 +0000 |
commit | 0aa283261421d95ae2370d25ba8a2ac318368afc (patch) | |
tree | 10f6588536330f7bdf2ad4daf85f91802df30d7c /src/Java/gtPlusPlus/api/helpers/GregtechPlusPlus_API.java | |
parent | 8ee7350f7e52b898126331aea6e673c70942e42a (diff) | |
download | GT5-Unofficial-0aa283261421d95ae2370d25ba8a2ac318368afc.tar.gz GT5-Unofficial-0aa283261421d95ae2370d25ba8a2ac318368afc.tar.bz2 GT5-Unofficial-0aa283261421d95ae2370d25ba8a2ac318368afc.zip |
+ Added RTG power Hatch.
+ Added better handler for packager recipes.
% Moved RTG fuel pellet recipe handling to it's own function.
$ Fixed minor oversight in ItemStackData.
$ Fixed TC Alchemical Furnace being a laggy PoS.
$ Maybe fixed TC Aspect scanner on items with invalid unlocal names.
Diffstat (limited to 'src/Java/gtPlusPlus/api/helpers/GregtechPlusPlus_API.java')
-rw-r--r-- | src/Java/gtPlusPlus/api/helpers/GregtechPlusPlus_API.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/api/helpers/GregtechPlusPlus_API.java b/src/Java/gtPlusPlus/api/helpers/GregtechPlusPlus_API.java index fb1258f6d2..6fe4209efe 100644 --- a/src/Java/gtPlusPlus/api/helpers/GregtechPlusPlus_API.java +++ b/src/Java/gtPlusPlus/api/helpers/GregtechPlusPlus_API.java @@ -6,6 +6,7 @@ import gtPlusPlus.api.objects.Logger; import gtPlusPlus.api.objects.data.WeightedCollection; import gtPlusPlus.api.objects.minecraft.multi.SpecialMultiBehaviour; import gtPlusPlus.core.util.minecraft.ItemUtils; +import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_Energy_RTG; import gtPlusPlus.xmod.gregtech.api.util.SpecialBehaviourTooltipHandler; import net.minecraft.block.Block; import net.minecraft.item.ItemStack; @@ -36,6 +37,15 @@ public class GregtechPlusPlus_API { return mSpecialBehaviourItemMap; } + /** + * Allows RTG Fuel pellets from other mods to be used in the RTG hatch. + * @param aStack - The Pellet Stack, sanitsed after passing through. + * @param aFuelValue - The Fuel Value of the Pellet to be added to the energy storage. + * @return - Did register? + */ + public static boolean registerPelletForRtgHatch(ItemStack aStack, long aFuelValue) { + return GT_MetaTileEntity_Hatch_Energy_RTG.registerPelletForHatch(aStack, aFuelValue); + } } |