Private
Public Access
1
0

Implemented getRenderType.

This commit is contained in:
2025-06-05 23:37:46 +01:00
parent 435f05384f
commit 818e2e7a7d

View File

@ -3,6 +3,7 @@ package dev.micle.firefly_bush_backport.particle;
import net.minecraft.client.multiplayer.ClientLevel; import net.minecraft.client.multiplayer.ClientLevel;
import net.minecraft.client.particle.ParticleRenderType; import net.minecraft.client.particle.ParticleRenderType;
import net.minecraft.client.particle.TextureSheetParticle; import net.minecraft.client.particle.TextureSheetParticle;
import org.jetbrains.annotations.NotNull;
public class FireflyParticle extends TextureSheetParticle { public class FireflyParticle extends TextureSheetParticle {
private static final float PARTICLE_FADE_OUT_LIGHT_TIME = 0.3F; private static final float PARTICLE_FADE_OUT_LIGHT_TIME = 0.3F;
@ -23,7 +24,7 @@ public class FireflyParticle extends TextureSheetParticle {
} }
@Override @Override
public ParticleRenderType getRenderType() { public @NotNull ParticleRenderType getRenderType() {
return null; return ParticleRenderType.PARTICLE_SHEET_TRANSLUCENT;
} }
} }