Implemented getRenderType.
This commit is contained in:
@ -3,6 +3,7 @@ package dev.micle.firefly_bush_backport.particle;
|
||||
import net.minecraft.client.multiplayer.ClientLevel;
|
||||
import net.minecraft.client.particle.ParticleRenderType;
|
||||
import net.minecraft.client.particle.TextureSheetParticle;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class FireflyParticle extends TextureSheetParticle {
|
||||
private static final float PARTICLE_FADE_OUT_LIGHT_TIME = 0.3F;
|
||||
@ -23,7 +24,7 @@ public class FireflyParticle extends TextureSheetParticle {
|
||||
}
|
||||
|
||||
@Override
|
||||
public ParticleRenderType getRenderType() {
|
||||
return null;
|
||||
public @NotNull ParticleRenderType getRenderType() {
|
||||
return ParticleRenderType.PARTICLE_SHEET_TRANSLUCENT;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user