Class SimpleAnimatedParticle

Direct Known Subclasses:
EndRodParticle, FireworkParticle.Spark, SquidInkParticle, TotemOfUndyingParticle

public class SimpleAnimatedParticle extends SpriteTexturedParticle
  • Field Details

    • sprites

      protected final IAnimatedSprite sprites
    • baseGravity

      private final float baseGravity
    • baseAirFriction

      private float baseAirFriction
    • fadeR

      private float fadeR
    • fadeG

      private float fadeG
    • fadeB

      private float fadeB
    • hasFade

      private boolean hasFade
  • Constructor Details

    • SimpleAnimatedParticle

      protected SimpleAnimatedParticle(ClientWorld p_i232422_1_, double p_i232422_2_, double p_i232422_4_, double p_i232422_6_, IAnimatedSprite p_i232422_8_, float p_i232422_9_)
  • Method Details

    • setColor

      public void setColor(int p_187146_1_)
    • setFadeColor

      public void setFadeColor(int p_187145_1_)
    • getRenderType

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

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

      public int getLightColor(float p_189214_1_)
      Overrides:
      getLightColor in class Particle
    • setBaseAirFriction

      protected void setBaseAirFriction(float p_191238_1_)