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 gik
  • Field Details Link icon

    • startColor Link icon

      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 Lgik;a:Lorg/joml/Vector3f;
    • endColor Link icon

      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 Lgik;b:Lorg/joml/Vector3f;
  • Constructor Details Link icon

    • DustColorTransitionParticle Link icon

      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> Lgik;<init>(Lgga;DDDDDDLln;Lgkd;)V
  • Method Details Link icon

    • darken Link icon

      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 Lgik;a(Lorg/joml/Vector3f;F)Lorg/joml/Vector3f;
    • updateColor Link icon

      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 Lgik;f(F)V
    • render Link icon

      public void render(VertexConsumer vertexConsumer, Camera camera, float tickDelta)
      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
      tickDelta - frame tick delta amount
      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 Lgji;a(Lffz;Lfks;F)V