类 DustColorTransitionParticle


public class DustColorTransitionParticle extends DustParticleBase<DustColorTransitionOptions>
  • 字段详细资料

    • fromColor

      private final org.joml.Vector3f fromColor
    • toColor

      private final org.joml.Vector3f toColor
  • 构造器详细资料

    • DustColorTransitionParticle

      protected DustColorTransitionParticle(ClientLevel pLevel, double pX, double pY, double pZ, double pXSpeed, double pYSpeed, double pZSpeed, DustColorTransitionOptions pOptions, SpriteSet pSprites)
  • 方法详细资料

    • randomizeColor

      private org.joml.Vector3f randomizeColor(org.joml.Vector3f pVector, float pMultiplier)
    • lerpColors

      private void lerpColors(float p_172070_)
    • render

      public void render(VertexConsumer pBuffer, Camera pRenderInfo, float pPartialTicks)
      覆盖:
      render 在类中 SingleQuadParticle