Class DustColorTransitionParticle


public class DustColorTransitionParticle extends DustParticleBase<DustColorTransitionOptions>
  • Field Details

    • fromColor

      private final org.joml.Vector3f fromColor
    • toColor

      private final org.joml.Vector3f toColor
  • Constructor Details

    • DustColorTransitionParticle

      protected DustColorTransitionParticle(ClientLevel p_172053_, double p_172054_, double p_172055_, double p_172056_, double p_172057_, double p_172058_, double p_172059_, DustColorTransitionOptions p_172060_, SpriteSet p_172061_)
  • Method Details

    • randomizeColor

      private org.joml.Vector3f randomizeColor(org.joml.Vector3f p_254318_, float p_254472_)
    • lerpColors

      private void lerpColors(float p_172070_)
    • render

      public void render(VertexConsumer p_172063_, Camera p_172064_, float p_172065_)
      Overrides:
      render in class SingleQuadParticle