Update tester mod

This commit is contained in:
Christian committed 2012-06-22 09:30:47 -04:00
1 parent 05f9861da4
commit 70d7c8fc68
1 file changed
+8
@@ -18,6 +18,7 @@ public class mod_testMod extends BaseMod implements ITickHandler {
@Override
public void load() {
ModLoader.setInGameHook(this, true, true);
ModLoader.setInGUIHook(this, true, false);
FMLCommonHandler.instance().registerTickHandler(this);
ts=System.currentTimeMillis();
tsg=ts;
@@ -32,6 +33,13 @@ public class mod_testMod extends BaseMod implements ITickHandler {
System.out.printf("%d %d %d %d MLTICK\n",del, ts, tsg, now);
return true;
}
@Override
public boolean onTickInGUI(float tick, Minecraft game, GuiScreen gui)
{
System.out.printf("%d MLGUITICK\n",System.currentTimeMillis());
return true;
}
@Override
public void tickStart(EnumSet<TickType> type, Object... tickData)