diff options
| author | miozune <miozune@gmail.com> | 2023-02-05 01:40:43 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-04 17:40:43 +0100 |
| commit | bb9da48b9975cb27e3b7c538bff2853a34b36fcd (patch) | |
| tree | 9de91abf611bf119935df6322e27805cf835fafc /src/main/java/gtPlusPlus/xmod/thermalfoundation | |
| parent | 8792eb5d9b70cbb1dc0b444cfd8524dfb4a0aa0c (diff) | |
| download | GT5-Unofficial-bb9da48b9975cb27e3b7c538bff2853a34b36fcd.tar.gz GT5-Unofficial-bb9da48b9975cb27e3b7c538bff2853a34b36fcd.tar.bz2 GT5-Unofficial-bb9da48b9975cb27e3b7c538bff2853a34b36fcd.zip | |
Remove redundant flags (#529)
* Remove CORE.GTNH
* Remove LoadedMods.Gregtech
* Remove LoadedMods.IndustrialCraft2
* Remove LoadedMods.MiscUtils
* Remove CORE.MAIN_GREGTECH_5U_EXPERIMENTAL_FORK
* clean
* Remove mention to GT versions
* Fix assembler mode
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/thermalfoundation')
| -rw-r--r-- | src/main/java/gtPlusPlus/xmod/thermalfoundation/HANDLER_TF.java | 10 | ||||
| -rw-r--r-- | src/main/java/gtPlusPlus/xmod/thermalfoundation/item/TF_Items.java | 20 |
2 files changed, 2 insertions, 28 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/thermalfoundation/HANDLER_TF.java b/src/main/java/gtPlusPlus/xmod/thermalfoundation/HANDLER_TF.java index 0ad922942b..624445a827 100644 --- a/src/main/java/gtPlusPlus/xmod/thermalfoundation/HANDLER_TF.java +++ b/src/main/java/gtPlusPlus/xmod/thermalfoundation/HANDLER_TF.java @@ -1,6 +1,5 @@ package gtPlusPlus.xmod.thermalfoundation; -import gtPlusPlus.core.lib.CORE; import gtPlusPlus.core.lib.LoadedMods; import gtPlusPlus.xmod.thermalfoundation.block.TF_Blocks; import gtPlusPlus.xmod.thermalfoundation.fluid.TF_Fluids; @@ -14,11 +13,6 @@ public class HANDLER_TF { TF_Fluids.preInit(); TF_Items.preInit(); TF_Blocks.preInit(); - if (LoadedMods.Gregtech) { - if (CORE.MAIN_GREGTECH_5U_EXPERIMENTAL_FORK) { - // mGregMatLoader.enableMaterial(Materials.Enderium); - } - } } } @@ -35,9 +29,7 @@ public class HANDLER_TF { TF_Fluids.postInit(); TF_Items.postInit(); TF_Blocks.postInit(); - if (LoadedMods.Gregtech) { - TF_Gregtech_Recipes.run(); - } + TF_Gregtech_Recipes.run(); } } } diff --git a/src/main/java/gtPlusPlus/xmod/thermalfoundation/item/TF_Items.java b/src/main/java/gtPlusPlus/xmod/thermalfoundation/item/TF_Items.java index 849848fa94..c7c8dd7901 100644 --- a/src/main/java/gtPlusPlus/xmod/thermalfoundation/item/TF_Items.java +++ b/src/main/java/gtPlusPlus/xmod/thermalfoundation/item/TF_Items.java @@ -1,6 +1,5 @@ package gtPlusPlus.xmod.thermalfoundation.item; -import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraftforge.fluids.FluidContainerRegistry; @@ -8,9 +7,7 @@ import cofh.core.item.ItemBase; import cofh.core.item.ItemBucket; import cofh.core.util.energy.FurnaceFuelHandler; import cofh.core.util.fluid.BucketHandler; -import cofh.lib.util.helpers.ItemHelper; import gtPlusPlus.core.creative.AddToCreativeTab; -import gtPlusPlus.core.lib.CORE; import gtPlusPlus.core.util.minecraft.ItemUtils; import gtPlusPlus.core.util.reflect.ReflectionUtils; import gtPlusPlus.xmod.thermalfoundation.block.TF_Blocks; @@ -74,20 +71,5 @@ public class TF_Items { .registerFluidContainer(TF_Fluids.fluidEnder, bucketEnder, FluidContainerRegistry.EMPTY_BUCKET); } - public static void postInit() { - if (!CORE.GTNH) { - ItemHelper.addRecipe( - ItemHelper.ShapelessRecipe( - ItemHelper.cloneStack(dustPyrotheum, 1), - new Object[] { "dustCoal", "dustSulfur", "dustRedstone", "dustBlaze" })); - ItemHelper.addRecipe( - ItemHelper.ShapelessRecipe( - ItemHelper.cloneStack(dustCryotheum, 1), - new Object[] { Items.snowball, "dustSaltpeter", "dustRedstone", "dustBlizz" })); - ItemHelper.addRecipe( - ItemHelper.ShapelessRecipe( - ItemHelper.cloneStack(dustCryotheum, 1), - new Object[] { Items.snowball, "dustNitor", "dustRedstone", "dustBlizz" })); - } - } + public static void postInit() {} } |
