mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 21:20:12 +00:00
Change tick event to have pre/post classes (#9890)
This commit is contained in:
4 files changed
+98
-39
No files matched your search
@@ -258,10 +258,10 @@ public final class ForgeEventFactoryClient {
|
||||
}
|
||||
|
||||
public static void onRenderTickStart(DeltaTracker timer) {
|
||||
post(new TickEvent.RenderTickEvent.Start(timer));
|
||||
post(new TickEvent.RenderTickEvent.Pre(timer));
|
||||
}
|
||||
|
||||
public static void onRenderTickEnd(DeltaTracker timer) {
|
||||
post(new TickEvent.RenderTickEvent.End(timer));
|
||||
post(new TickEvent.RenderTickEvent.Post(timer));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user