diff --git a/src/main/java/blusunrize/immersiveengineering/common/IEContent.java b/src/main/java/blusunrize/immersiveengineering/common/IEContent.java index 6136845961..2b34206274 100644 --- a/src/main/java/blusunrize/immersiveengineering/common/IEContent.java +++ b/src/main/java/blusunrize/immersiveengineering/common/IEContent.java @@ -23,6 +23,7 @@ import blusunrize.immersiveengineering.api.tool.ConveyorHandler; import blusunrize.immersiveengineering.api.tool.ExternalHeaterHandler; import blusunrize.immersiveengineering.api.tool.ExternalHeaterHandler.DefaultFurnaceAdapter; +import blusunrize.immersiveengineering.api.utils.TagUtils; import blusunrize.immersiveengineering.api.wires.NetHandlerCapability; import blusunrize.immersiveengineering.api.wires.WireType; import blusunrize.immersiveengineering.api.wires.localhandlers.EnergyTransferHandler; @@ -91,6 +92,7 @@ import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.DeferredWorkQueue; +import net.minecraftforge.fml.ModList; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; @@ -792,6 +794,7 @@ public static void init() ThermoelectricHandler.registerSourceInKelvin(Blocks.PACKED_ICE, 240); ThermoelectricHandler.registerSourceInKelvin(Blocks.BLUE_ICE, 200); ThermoelectricHandler.registerSourceInKelvin(IETags.getTagsFor(EnumMetals.URANIUM).storage, 2000); + //ThermoelectricHandler.registerSourceInKelvin(new ResourceLocation("forge:storage_blocks/yellorium"), 2000); //ThermoelectricHandler.registerSourceInKelvin(new ResourceLocation("forge:storage_blocks/plutonium"), 4000); //ThermoelectricHandler.registerSourceInKelvin(new ResourceLocation("forge:storage_blocks/blutonium"), 4000); diff --git a/src/main/java/blusunrize/immersiveengineering/common/util/compat/BiggerReactorsCompatModule.java b/src/main/java/blusunrize/immersiveengineering/common/util/compat/BiggerReactorsCompatModule.java new file mode 100644 index 0000000000..35acc3569d --- /dev/null +++ b/src/main/java/blusunrize/immersiveengineering/common/util/compat/BiggerReactorsCompatModule.java @@ -0,0 +1,30 @@ +package blusunrize.immersiveengineering.common.util.compat; + +import blusunrize.immersiveengineering.api.energy.ThermoelectricHandler; +import blusunrize.immersiveengineering.api.utils.TagUtils; +import net.minecraft.util.ResourceLocation; + +public class BiggerReactorsCompatModule extends IECompatModule{ + @Override + public void preInit() { + + } + + @Override + public void registerRecipes() { + + } + + @Override + public void init() { + ThermoelectricHandler.registerSourceInKelvin(TagUtils.createBlockWrapper(new ResourceLocation("forge:storage_blocks/cyanite")), 1500); + ThermoelectricHandler.registerSourceInKelvin(TagUtils.createBlockWrapper(new ResourceLocation("forge:storage_blocks/yellorium")), 2000); + ThermoelectricHandler.registerSourceInKelvin(TagUtils.createBlockWrapper(new ResourceLocation("forge:storage_blocks/blutonium")), 3000); + ThermoelectricHandler.registerSourceInKelvin(TagUtils.createBlockWrapper(new ResourceLocation("forge:storage_blocks/ludicrite")), 6000); + } + + @Override + public void postInit() { + + } +} diff --git a/src/main/java/blusunrize/immersiveengineering/common/util/compat/ExtremeReactorsCompatModule.java b/src/main/java/blusunrize/immersiveengineering/common/util/compat/ExtremeReactorsCompatModule.java new file mode 100644 index 0000000000..234ea0b5f7 --- /dev/null +++ b/src/main/java/blusunrize/immersiveengineering/common/util/compat/ExtremeReactorsCompatModule.java @@ -0,0 +1,29 @@ +package blusunrize.immersiveengineering.common.util.compat; + +import blusunrize.immersiveengineering.api.energy.ThermoelectricHandler; +import blusunrize.immersiveengineering.api.utils.TagUtils; +import net.minecraft.util.ResourceLocation; + +public class ExtremeReactorsCompatModule extends IECompatModule{ + + @Override + public void preInit() { + + } + + @Override + public void registerRecipes() { + + } + + @Override + public void init() { + ThermoelectricHandler.registerSourceInKelvin(TagUtils.createBlockWrapper(new ResourceLocation("forge:storage_blocks/cyanite")), 1500); + ThermoelectricHandler.registerSourceInKelvin(TagUtils.createBlockWrapper(new ResourceLocation("forge:storage_blocks/yellorium")), 2000); + } + + @Override + public void postInit() { + + } +} diff --git a/src/main/java/blusunrize/immersiveengineering/common/util/compat/IECompatModule.java b/src/main/java/blusunrize/immersiveengineering/common/util/compat/IECompatModule.java index c4bb998c15..5d2a15c325 100644 --- a/src/main/java/blusunrize/immersiveengineering/common/util/compat/IECompatModule.java +++ b/src/main/java/blusunrize/immersiveengineering/common/util/compat/IECompatModule.java @@ -32,6 +32,8 @@ public abstract class IECompatModule moduleClasses.put("crafttweaker", CraftTweakerCompatModule.class); moduleClasses.put("theoneprobe", OneProbeCompatModule.class); moduleClasses.put("curios", CuriosCompatModule.class); + moduleClasses.put("bigreactors", ExtremeReactorsCompatModule.class); + moduleClasses.put("biggerreactors", BiggerReactorsCompatModule.class); } public static void doModulesPreInit()