package aeronicamc.mods.mxtune.mixins;

import aeronicamc.mods.mxtune.render.RenderEvents;
import com.mojang.blaze3d.vertex.PoseStack;
import net.minecraft.client.Camera;
import net.minecraft.client.particle.ParticleEngine;
import net.minecraft.client.renderer.LightTexture;
import net.minecraft.client.renderer.MultiBufferSource;
import net.minecraft.client.renderer.culling.Frustum;
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;

@Mixin(ParticleEngine.class)
public class MixinParticleManager
{
    /**
     * Hook into the {@link WorldRenderer} via the {@link ParticleEngine} renderParticle method for our {@link RenderEvents} replacement.
     *
     * @param pMatrixStack      The provided matrix stack
     * @param pBuffer           The provided render type buffers
     * @param pLightTexture     The provided light texture
     * @param pActiveRenderInfo The provided active render info
     * @param pPartialTicks     The provided partial ticks
     * @param clippingHelper    The provided clipping helper
     * @param ci                ignored
     */
    @Inject(method = "render(Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource$BufferSource;Lnet/minecraft/client/renderer/LightTexture;Lnet/minecraft/client/Camera;FLnet/minecraft/client/renderer/culling/Frustum;)V", at = @At("RETURN"), remap = false, require = 1)
    public void render(PoseStack pMatrixStack, MultiBufferSource.BufferSource pBuffer, LightTexture pLightTexture, Camera pActiveRenderInfo, float pPartialTicks, Frustum clippingHelper, CallbackInfo ci)
    {
        RenderEvents.renderLast(pMatrixStack, pBuffer, pLightTexture, pActiveRenderInfo, pPartialTicks, clippingHelper);
    }
}
@@ -217,16 +217,68 @@
 Engine;%0A
+import net.minecraft.client.renderer.LevelRenderer;%0A
 import n
@@ -748,13 +748,13 @@
 ink 
-World
+Level
 Rend

Correct class name