mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 20:52:34 +00:00
Split mod_MinecraftForge so that Clients arnt required to have MLMP installed if they don't use a MP mod.
This commit is contained in:
1 parent
4c7814c603
commit
67a49ccdd2
2 files changed
+24
No files matched your search
@@ -0,0 +1,24 @@
|
||||
package net.minecraft.src;
|
||||
|
||||
import net.minecraft.src.forge.ForgeHooks;
|
||||
import net.minecraft.src.forge.MinecraftForge;
|
||||
|
||||
/**
|
||||
* This class is just here to make the Forge version show up nicely in the ModLoader logs/Crash Screen
|
||||
*/
|
||||
public class mod_MinecraftForge extends BaseMod
|
||||
{
|
||||
@Override
|
||||
public String getVersion()
|
||||
{
|
||||
return String.format("%d.%d.%d.%d",
|
||||
ForgeHooks.majorVersion, ForgeHooks.minorVersion,
|
||||
ForgeHooks.revisionVersion, ForgeHooks.buildVersion);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void load()
|
||||
{
|
||||
MinecraftForge.getDungeonLootTries(); //Random thing to make things Initialize
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user