Add .blend export
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package com.replaymod.render.mixin;
|
||||
|
||||
//#if MC<10904
|
||||
//$$ import com.replaymod.render.blend.BlendState;
|
||||
//$$ import com.replaymod.render.blend.exporters.ParticlesExporter;
|
||||
//$$ import com.replaymod.render.hooks.EntityRendererHandler;
|
||||
//$$ import net.minecraft.client.Minecraft;
|
||||
//$$ import net.minecraft.client.particle.EffectRenderer;
|
||||
@@ -50,6 +52,10 @@ package com.replaymod.render.mixin;
|
||||
//$$
|
||||
//$$ rotYZ = (float) (-rotZ * Math.sin(pitch));
|
||||
//$$ rotXY = (float) (rotX * Math.sin(pitch));
|
||||
//$$ }
|
||||
//$$ BlendState blendState = BlendState.getState();
|
||||
//$$ if (blendState != null) {
|
||||
//$$ blendState.get(ParticlesExporter.class).onRender(fx, partialTicks);
|
||||
//$$ }
|
||||
//#if MC>=10809
|
||||
//$$ fx.renderParticle(worldRenderer, view, partialTicks, rotX, rotXZ, rotZ, rotYZ, rotXY);
|
||||
|
||||
Reference in New Issue
Block a user