Skip to content

Commit

Permalink
Change BER mixin to have a priority of 999
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Sep 25, 2021
1 parent 8252b69 commit b1c0d52
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
* Tracks whether or not the world is being rendered, and manages grouping
* with different entities.
*/
@Mixin(value = LevelRenderer.class)
// Uses a priority of 999 to apply before the main Iris mixins to draw entities before deferred runs.
@Mixin(value = LevelRenderer.class, priority = 999)
public class MixinLevelRenderer {
private static final String RENDER_ENTITY =
"Lnet/minecraft/client/renderer/LevelRenderer;renderEntity(Lnet/minecraft/world/entity/Entity;DDDFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;)V";
Expand Down

0 comments on commit b1c0d52

Please sign in to comment.