From d4f1d75c0038b763eb17add1171ee314ab3d3d68 Mon Sep 17 00:00:00 2001 From: DataM0del <183248792+DataM0del@users.noreply.github.com> Date: Mon, 23 Dec 2024 09:54:48 -0500 Subject: [PATCH] fix(docs/GameRendererMixin): this posts Render3D events, not Render2D events --- src/main/java/info/opensigma/mixin/GameRendererMixin.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/info/opensigma/mixin/GameRendererMixin.java b/src/main/java/info/opensigma/mixin/GameRendererMixin.java index 534f9e3..a86318b 100644 --- a/src/main/java/info/opensigma/mixin/GameRendererMixin.java +++ b/src/main/java/info/opensigma/mixin/GameRendererMixin.java @@ -1,18 +1,16 @@ package info.opensigma.mixin; import info.opensigma.OpenSigma; -import info.opensigma.event.impl.render.Render2DEvent; import info.opensigma.event.impl.render.Render3DEvent; import net.minecraft.client.render.GameRenderer; import net.minecraft.client.render.RenderTickCounter; -import net.minecraft.client.util.math.MatrixStack; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; /** - * Hooks [{@link GameRenderer#renderWorld(RenderTickCounter)}] to post [{@link Render2DEvent}] events. + * Hooks [{@link GameRenderer#renderWorld(RenderTickCounter)}] to post [{@link Render3DEvent}] events. * We aren't hooking [{@link GameRenderer#render(RenderTickCounter, boolean)} * because something else could call this, & we wouldn't send the event when we should've, * even though it doesn't really matter.