Class SimpleAnimatedParticle

    • Field Detail

      • 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 Detail

      • 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 Detail

      • setColor

        public void setColor​(int p_187146_1_)
      • setFadeColor

        public void setFadeColor​(int p_187145_1_)
      • 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_)