Class DustColorTransitionParticle


@Environment(CLIENT) public class DustColorTransitionParticle extends AbstractDustParticle<DustColorTransitionParticleEffect>
Mappings:
Namespace Name
named net/minecraft/client/particle/DustColorTransitionParticle
intermediary net/minecraft/class_5734
official gbk
  • Field Details

    • startColor

      private final Vector3f startColor
      Mappings:
      Namespace Name Mixin selector
      named startColor Lnet/minecraft/client/particle/DustColorTransitionParticle;startColor:Lorg/joml/Vector3f;
      intermediary field_28244 Lnet/minecraft/class_5734;field_28244:Lorg/joml/Vector3f;
      official a Lgbk;a:Lorg/joml/Vector3f;
    • endColor

      private final Vector3f endColor
      Mappings:
      Namespace Name Mixin selector
      named endColor Lnet/minecraft/client/particle/DustColorTransitionParticle;endColor:Lorg/joml/Vector3f;
      intermediary field_28245 Lnet/minecraft/class_5734;field_28245:Lorg/joml/Vector3f;
      official b Lgbk;b:Lorg/joml/Vector3f;
  • Constructor Details

    • DustColorTransitionParticle

      protected DustColorTransitionParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, DustColorTransitionParticleEffect parameters, SpriteProvider spriteProvider)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/particle/DustColorTransitionParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/particle/DustColorTransitionParticleEffect;Lnet/minecraft/client/particle/SpriteProvider;)V
      intermediary <init> Lnet/minecraft/class_5734;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_5743;Lnet/minecraft/class_4002;)V
      official <init> Lgbk;<init>(Lfyz;DDDDDDLlg;Lgdc;)V
  • Method Details

    • darken

      private Vector3f darken(Vector3f color, float multiplier)
      Mappings:
      Namespace Name Mixin selector
      named darken Lnet/minecraft/client/particle/DustColorTransitionParticle;darken(Lorg/joml/Vector3f;F)Lorg/joml/Vector3f;
      intermediary method_33073 Lnet/minecraft/class_5734;method_33073(Lorg/joml/Vector3f;F)Lorg/joml/Vector3f;
      official a Lgbk;a(Lorg/joml/Vector3f;F)Lorg/joml/Vector3f;
    • updateColor

      private void updateColor(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      named updateColor Lnet/minecraft/client/particle/DustColorTransitionParticle;updateColor(F)V
      intermediary method_33074 Lnet/minecraft/class_5734;method_33074(F)V
      official f Lgbk;f(F)V
    • buildGeometry

      public void buildGeometry(VertexConsumer vertexConsumer, Camera camera, float tickDelta)
      Renders this particle to the given VertexConsumer buffer.
      Overrides:
      buildGeometry in class BillboardParticle
      Parameters:
      vertexConsumer - the buffer to render to
      camera - the current active game Camera
      tickDelta - frame tick delta amount
      Mappings:
      Namespace Name Mixin selector
      named buildGeometry Lnet/minecraft/client/particle/Particle;buildGeometry(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/render/Camera;F)V
      intermediary method_3074 Lnet/minecraft/class_703;method_3074(Lnet/minecraft/class_4588;Lnet/minecraft/class_4184;F)V
      official a Lgch;a(Lfbg;Lffs;F)V