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:
parent
4c7814c603
commit
67a49ccdd2
2 changed files with 24 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue