mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 13:09:59 +00:00
Halfway through ticking- won't compile
This commit is contained in:
1 parent
6c6f792c6b
commit
1a40f433a5
6 files changed
+77
-12
No files matched your search
@@ -33,7 +33,7 @@ public abstract class BaseMod implements IWorldGenerator, IPickupNotifier, IDisp
|
||||
* @param minecraftInstance
|
||||
* @return
|
||||
*/
|
||||
public final boolean doTickInGame(Object minecraftInstance)
|
||||
public final boolean doTickInGame(float clock, Object minecraftInstance)
|
||||
{
|
||||
return onTickInGame((Minecraft)minecraftInstance);
|
||||
}
|
||||
|
||||
@@ -720,12 +720,15 @@ public class ModLoader
|
||||
{
|
||||
ModLoaderModContainer mlmc = (ModLoaderModContainer) ModLoaderModContainer.findContainerFor(mod);
|
||||
mlmc.setTicking(enable);
|
||||
mlmc.setClockTicks(useClock);
|
||||
}
|
||||
|
||||
|
||||
static void setInGUIHook(BaseMod mod, boolean enable, boolean useClock)
|
||||
public static void setInGUIHook(BaseMod mod, boolean enable, boolean useClock)
|
||||
{
|
||||
//TODO
|
||||
ModLoaderModContainer mlmc = (ModLoaderModContainer) ModLoaderModContainer.findContainerFor(mod);
|
||||
mlmc.setGUITicking(enable);
|
||||
mlmc.setGUIClockTicks(useClock);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user