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 gtt
  • 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 Lgtt;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 Lgtt;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> Lgtt;<init>(Lgrj;DDDDDDLly;Lgvn;)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 Lgtt;a(Lorg/joml/Vector3f;F)Lorg/joml/Vector3f;
    • updateColor

      private void updateColor(float tickProgress)
      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 Lgtt;f(F)V
    • render

      public void render(VertexConsumer vertexConsumer, Camera camera, float tickProgress)
      Renders this particle to the given VertexConsumer buffer. Particles using the ParticleTextureSheet.CUSTOM sheet should implement this with an empty method, and instead render in Particle.renderCustom(net.minecraft.client.util.math.MatrixStack, net.minecraft.client.render.VertexConsumerProvider, net.minecraft.client.render.Camera, float).
      Overrides:
      render in class BillboardParticle
      Parameters:
      vertexConsumer - the buffer to render to
      camera - the current active game Camera
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/particle/Particle;render(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 Lgus;a(Lfof;Lftl;F)V