@@ -50,8 +50,8 @@ public abstract class MixinLevelRenderer {
50
50
@ Shadow
51
51
public abstract Frustum getFrustum ();
52
52
53
- @ WrapOperation (method = "renderLevel " , at = @ At (value = "INVOKE" , target = "Lnet/minecraft/client/particle/ParticleEngine;render(Lnet/minecraft/client/renderer/LightTexture;Lnet /minecraft/client/Camera;FLnet /minecraft/client/renderer/culling/Frustum;Ljava/util/function/Predicate;)V" , ordinal = 1 ))
54
- private void redirectSolidParticles (ParticleEngine instance , LightTexture lightTexture , Camera camera , float v , Frustum frustum , Predicate <ParticleRenderType > predicate , Operation <Void > original ) {
53
+ @ WrapOperation (method = "lambda$addMainPass$2 " , at = @ At (value = "INVOKE" , target = "Lnet/minecraft/client/particle/ParticleEngine;render(Lnet/minecraft/client/Camera;FLnet /minecraft/client/renderer/MultiBufferSource$BufferSource;Lnet /minecraft/client/renderer/culling/Frustum;Ljava/util/function/Predicate;)V" ))
54
+ private void redirectSolidParticles (ParticleEngine instance , Camera camera , float v , MultiBufferSource . BufferSource bufferSource , Frustum frustum , Predicate <ParticleRenderType > predicate , Operation <Void > original ) {
55
55
ParticleRenderingSettings settings = getRenderingSettings ();
56
56
57
57
Predicate <ParticleRenderType > newPredicate = predicate ;
@@ -62,10 +62,10 @@ private void redirectSolidParticles(ParticleEngine instance, LightTexture lightT
62
62
return ;
63
63
}
64
64
65
- original .call (instance , lightTexture , camera , v , frustum , newPredicate );
65
+ original .call (instance , camera , v , bufferSource , frustum , newPredicate );
66
66
}
67
67
68
- @ WrapOperation (method = "renderLevel " , at = @ At (value = "INVOKE" , target = "Lnet/minecraft/client/particle/ParticleEngine;render(Lnet/minecraft/client/renderer/LightTexture;Lnet /minecraft/client/Camera;FLnet /minecraft/client/renderer/culling/Frustum;Ljava/util/function/Predicate;)V" , ordinal = 2 ))
68
+ @ WrapOperation (method = "lambda$addParticlesPass$3 " , at = @ At (value = "INVOKE" , target = "Lnet/minecraft/client/particle/ParticleEngine;render(Lnet/minecraft/client/Camera;FLnet /minecraft/client/renderer/MultiBufferSource$BufferSource;Lnet /minecraft/client/renderer/culling/Frustum;Ljava/util/function/Predicate;)V" ))
69
69
private void redirectTransParticles (ParticleEngine instance , LightTexture lightTexture , Camera camera , float v , Frustum frustum , Predicate <ParticleRenderType > predicate , Operation <Void > original ) {
70
70
ParticleRenderingSettings settings = getRenderingSettings ();
71
71
0 commit comments