Change tick event to have pre/post classes (#9890)

This commit is contained in:
LexManos committed 2024-06-13 15:15:04 -07:00
1 parent 1c633b4624
commit 583f363b6b
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));
}
}