Class DustColorTransitionParticle


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

    • startColor

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

      private final Vector3f endColor
      Mappings:
      Namespace Name Mixin selector
      official b Lflb;b:Lorg/joml/Vector3f;
      intermediary field_28245 Lnet/minecraft/class_5734;field_28245:Lorg/joml/Vector3f;
      named endColor Lnet/minecraft/client/particle/DustColorTransitionParticle;endColor: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
      official <init> Lflb;<init>(Lfix;DDDDDDLio;Lfmp;)V
      intermediary <init> Lnet/minecraft/class_5734;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_5743;Lnet/minecraft/class_4002;)V
      named <init> Lnet/minecraft/client/particle/DustColorTransitionParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/particle/DustColorTransitionParticleEffect;Lnet/minecraft/client/particle/SpriteProvider;)V
  • Method Details

    • darken

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

      private void updateColor(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official f Lflb;f(F)V
      intermediary method_33074 Lnet/minecraft/class_5734;method_33074(F)V
      named updateColor Lnet/minecraft/client/particle/DustColorTransitionParticle;updateColor(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
      official a Lflu;a(Lelt;Leqg;F)V
      intermediary method_3074 Lnet/minecraft/class_703;method_3074(Lnet/minecraft/class_4588;Lnet/minecraft/class_4184;F)V
      named buildGeometry Lnet/minecraft/client/particle/Particle;buildGeometry(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/render/Camera;F)V