Class SimpleAnimatedParticle

Direct Known Subclasses:
EndRodParticle, FireworkParticles.SparkParticle, SquidInkParticle, TotemParticle

public class SimpleAnimatedParticle extends TextureSheetParticle
  • Field Details

    • sprites

      protected final SpriteSet sprites
    • fadeR

      private float fadeR
    • fadeG

      private float fadeG
    • fadeB

      private float fadeB
    • hasFade

      private boolean hasFade
  • Constructor Details

    • SimpleAnimatedParticle

      protected SimpleAnimatedParticle(ClientLevel p_107647_, double p_107648_, double p_107649_, double p_107650_, SpriteSet p_107651_, float p_107652_)
  • Method Details

    • setColor

      public void setColor(int p_107658_)
    • setFadeColor

      public void setFadeColor(int p_107660_)
    • getRenderType

      public ParticleRenderType getRenderType()
      Specified by:
      getRenderType in class Particle
    • tick

      public void tick()
      Overrides:
      tick in class Particle
    • getLightColor

      public int getLightColor(float p_107655_)
      Overrides:
      getLightColor in class Particle