Skip to content

Commit

Permalink
Add missing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ACGaming committed May 7, 2024
1 parent 132e94e commit 23c9373
Showing 1 changed file with 29 additions and 12 deletions.
41 changes: 29 additions & 12 deletions src/main/java/mod/acgaming/universaltweaks/UniversalTweaks.java
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
package mod.acgaming.universaltweaks;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.Loader;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.event.*;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

import mod.acgaming.universaltweaks.bugfixes.blocks.blockoverlay.UTBlockOverlayLists;
import mod.acgaming.universaltweaks.bugfixes.entities.desync.UTEntityDesync;
import mod.acgaming.universaltweaks.bugfixes.entities.dimensionchange.UTDimensionChangeEvents;
Expand Down Expand Up @@ -59,7 +49,20 @@
import mod.acgaming.universaltweaks.util.UTPacketHandler;
import mod.acgaming.universaltweaks.util.compat.UTObsoleteModsHandler;
import mods.railcraft.common.core.BetaMessageTickHandler;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.Loader;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLLoadCompleteEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.event.FMLServerStartedEvent;
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import net.tardis.mod.proxy.ClientProxy;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import tonius.simplyjetpacks.network.NetworkHandler;

@Mod(modid = UniversalTweaks.MODID, name = UniversalTweaks.NAME, version = UniversalTweaks.VERSION, acceptedMinecraftVersions = "[1.12.2]", dependencies = UniversalTweaks.DEPENDENCIES)
Expand All @@ -73,6 +76,7 @@ public class UniversalTweaks
+ "after:actuallyadditions;"
+ "after:aoa3;"
+ "after:arcanearchives;"
+ "after:astralsorcery;"
+ "after:biomesoplenty;"
+ "after:bloodmagic;"
+ "after:botania;"
Expand All @@ -82,6 +86,8 @@ public class UniversalTweaks
+ "after:collective;"
+ "after:compactmachines3;"
+ "after:contenttweaker;"
+ "after:cqrepoured;"
+ "after:crafttweaker;"
+ "after:effortlessbuilding;"
+ "after:element;"
+ "after:elenaidodge2;"
Expand All @@ -92,29 +98,39 @@ public class UniversalTweaks
+ "after:extrautils2;"
+ "after:farlanders;"
+ "after:forestry;"
+ "after:forgemultipartcbe;"
+ "after:ic2;"
+ "after:industrialforegoing;"
+ "after:infernalmobs;"
+ "after:ironbackpacks;"
+ "after:itemstages;"
+ "after:mekanism;"
+ "after:mobstages;"
+ "after:modularrouters;"
+ "after:mrtjpcore;"
+ "after:netherchest;"
+ "after:netherrocks;"
+ "after:nuclearcraft;"
+ "after:plustic;"
+ "after:projectred-exploration;"
+ "after:quark;"
+ "after:railcraft;"
+ "after:reskillable;"
+ "after:rftoolsdim;"
+ "after:roost;"
+ "after:simpledifficulty;"
+ "after:simplyjetpacks;"
+ "after:spiceoflife;"
+ "after:storagedrawers;"
+ "after:tardis;"
+ "after:tcomplement;"
+ "after:tconstruct;"
+ "after:techreborn;"
+ "after:thaumcraft;"
+ "after:thaumicwonders;"
+ "after:thermalexpansion;"
+ "after:tp";
+ "after:tp;"
+ "after:waila";
public static final Logger LOGGER = LogManager.getLogger(NAME);

@Mod.EventHandler
Expand Down Expand Up @@ -143,7 +159,8 @@ public void init(FMLInitializationEvent event)
if (Loader.isModLoaded("mekanism") && UTConfigMods.MEKANISM.utDuplicationFixesToggle) UTMekanismFixes.fixBinRecipes();
if (Loader.isModLoaded("projectred-exploration") && UTConfigMods.PROJECTRED.utDuplicationFixesToggle) MinecraftForge.EVENT_BUS.register(new UTProjectRedWorldEvents());
// Unregister reason: disable beta warning.
if (Loader.isModLoaded("railcraft") && UTConfigMods.RAILCRAFT.utNoBetaWarningToggle) {
if (Loader.isModLoaded("railcraft") && UTConfigMods.RAILCRAFT.utNoBetaWarningToggle)
{
MinecraftForge.EVENT_BUS.unregister(BetaMessageTickHandler.INSTANCE);
}
if (Loader.isModLoaded("simplyjetpacks") && UTConfigMods.SIMPLY_JETPACKS.utMemoryLeakFixToggle)
Expand Down

0 comments on commit 23c9373

Please sign in to comment.