Send last PoseStack pos to RenderLevelStageEvent AFTER_PARTICLES stage. Fixes #10031

This commit is contained in:
LexManos committed 2024-07-02 10:12:16 -07:00
1 parent 4fcf1877c1
commit 4d85053a4d
2 files changed
+4 -3

No files matched your search

@@ -77,8 +77,9 @@ public class RenderLevelStageEvent extends Event {
}
/**
* {@return the pose stack used for rendering}
* @deprecated Mojang has stopped passing around PosStacks. getProjectionMatrix should be enough.
*/
@Deprecated(forRemoval = true, since = "1.21")
public Matrix4f getPoseStack() {
return poseStack;
}