mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
1.12.1 Update, Not much modder facing changes, 1.12 mods should load and run fine on this version.
This commit is contained in:
1 parent
639589703d
commit
f73c7cb764
77 files changed
+1299
-807
No files matched your search
@@ -54,15 +54,15 @@ public class ForgeVersion
|
||||
//This number is incremented every time we remove deprecated code/major API changes, never reset
|
||||
public static final int majorVersion = 14;
|
||||
//This number is incremented every minecraft release, never reset
|
||||
public static final int minorVersion = 21;
|
||||
public static final int minorVersion = 22;
|
||||
//This number is incremented every time a interface changes or new major feature is added, and reset every Minecraft version
|
||||
public static final int revisionVersion = 1;
|
||||
public static final int revisionVersion = 0;
|
||||
//This number is incremented every time Jenkins builds Forge, and never reset. Should always be 0 in the repo code.
|
||||
public static final int buildVersion = 0;
|
||||
// This is the minecraft version we're building for - used in various places in Forge/FML code
|
||||
public static final String mcVersion = "1.12";
|
||||
public static final String mcVersion = "1.12.1";
|
||||
// This is the MCP data version we're using
|
||||
public static final String mcpVersion = "9.40";
|
||||
public static final String mcpVersion = "9.41";
|
||||
@SuppressWarnings("unused")
|
||||
private static Status status = PENDING;
|
||||
@SuppressWarnings("unused")
|
||||
|
||||
@@ -78,7 +78,7 @@ public class AutomaticEventSubscriber
|
||||
continue; //We're not injecting this guy
|
||||
}
|
||||
FMLLog.log.debug("Registering @EventBusSubscriber for {} for mod {}", targ.getClassName(), mod.getModId());
|
||||
Class<?> subscriptionTarget = Class.forName(targ.getClassName(), true, mcl);
|
||||
Class<?> subscriptionTarget = Class.forName(targ.getClassName(), false, mcl);
|
||||
MinecraftForge.EVENT_BUS.register(subscriptionTarget);
|
||||
FMLLog.log.debug("Injected @EventBusSubscriber class {}", targ.getClassName());
|
||||
}
|
||||
|
||||
@@ -264,6 +264,8 @@ public class FMLModContainer implements ModContainer
|
||||
mcVersionString = "[1.9.4,1.10.2]";
|
||||
if ("[1.11]".equals(mcVersionString))
|
||||
mcVersionString = "[1.11,1.11.2]";
|
||||
if ("[1.12]".equals(mcVersionString))
|
||||
mcVersionString = "[1.12,1.12.1]";
|
||||
if (!Strings.isNullOrEmpty(mcVersionString))
|
||||
{
|
||||
minecraftAccepted = VersionParser.parseRange(mcVersionString);
|
||||
|
||||
Reference in new issue
Block a user