Class DustColorTransitionParticleEffect

java.lang.Object
net.minecraft.particle.AbstractDustParticleEffect
net.minecraft.particle.DustColorTransitionParticleEffect
All Implemented Interfaces:
ParticleEffect

public class DustColorTransitionParticleEffect
extends AbstractDustParticleEffect
Mappings:
Namespace Name
official hf
intermediary net/minecraft/class_5743
named net/minecraft/particle/DustColorTransitionParticleEffect
  • Field Details

    • SCULK_BLUE

      public static final Vec3f SCULK_BLUE
      Mappings:
      Namespace Name Mixin selector
      official a Lhf;a:Lg;
      intermediary field_28267 Lnet/minecraft/class_5743;field_28267:Lnet/minecraft/class_1160;
      named SCULK_BLUE Lnet/minecraft/particle/DustColorTransitionParticleEffect;SCULK_BLUE:Lnet/minecraft/util/math/Vec3f;
    • DEFAULT

      public static final DustColorTransitionParticleEffect DEFAULT
      Mappings:
      Namespace Name Mixin selector
      official b Lhf;b:Lhf;
      intermediary field_28268 Lnet/minecraft/class_5743;field_28268:Lnet/minecraft/class_5743;
      named DEFAULT Lnet/minecraft/particle/DustColorTransitionParticleEffect;DEFAULT:Lnet/minecraft/particle/DustColorTransitionParticleEffect;
    • CODEC

      public static final com.mojang.serialization.Codec<DustColorTransitionParticleEffect> CODEC
      Mappings:
      Namespace Name Mixin selector
      official c Lhf;c:Lcom/mojang/serialization/Codec;
      intermediary field_28269 Lnet/minecraft/class_5743;field_28269:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/particle/DustColorTransitionParticleEffect;CODEC:Lcom/mojang/serialization/Codec;
    • FACTORY

      Mappings:
      Namespace Name Mixin selector
      official d Lhf;d:Lhj$a;
      intermediary field_28270 Lnet/minecraft/class_5743;field_28270:Lnet/minecraft/class_2394$class_2395;
      named FACTORY Lnet/minecraft/particle/DustColorTransitionParticleEffect;FACTORY:Lnet/minecraft/particle/ParticleEffect$Factory;
    • toColor

      private final Vec3f toColor
      Mappings:
      Namespace Name Mixin selector
      official g Lhf;g:Lg;
      intermediary field_28271 Lnet/minecraft/class_5743;field_28271:Lnet/minecraft/class_1160;
      named toColor Lnet/minecraft/particle/DustColorTransitionParticleEffect;toColor:Lnet/minecraft/util/math/Vec3f;
  • Constructor Details

    • DustColorTransitionParticleEffect

      public DustColorTransitionParticleEffect​(Vec3f vec3f, Vec3f vec3f2, float scale)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhf;<init>(Lg;Lg;F)V
      intermediary <init> Lnet/minecraft/class_5743;<init>(Lnet/minecraft/class_1160;Lnet/minecraft/class_1160;F)V
      named <init> Lnet/minecraft/particle/DustColorTransitionParticleEffect;<init>(Lnet/minecraft/util/math/Vec3f;Lnet/minecraft/util/math/Vec3f;F)V
  • Method Details

    • getFromColor

      @Environment(CLIENT) public Vec3f getFromColor()
      Mappings:
      Namespace Name Mixin selector
      official c Lhf;c()Lg;
      intermediary method_33110 Lnet/minecraft/class_5743;method_33110()Lnet/minecraft/class_1160;
      named getFromColor Lnet/minecraft/particle/DustColorTransitionParticleEffect;getFromColor()Lnet/minecraft/util/math/Vec3f;
    • getToColor

      @Environment(CLIENT) public Vec3f getToColor()
      Mappings:
      Namespace Name Mixin selector
      official d Lhf;d()Lg;
      intermediary method_33112 Lnet/minecraft/class_5743;method_33112()Lnet/minecraft/class_1160;
      named getToColor Lnet/minecraft/particle/DustColorTransitionParticleEffect;getToColor()Lnet/minecraft/util/math/Vec3f;
    • write

      public void write​(PacketByteBuf buf)
      Specified by:
      write in interface ParticleEffect
      Overrides:
      write in class AbstractDustParticleEffect
      Mappings:
      Namespace Name Mixin selector
      official a Lhj;a(Lnw;)V
      intermediary method_10294 Lnet/minecraft/class_2394;method_10294(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/particle/ParticleEffect;write(Lnet/minecraft/network/PacketByteBuf;)V
    • asString

      public String asString()
      Specified by:
      asString in interface ParticleEffect
      Overrides:
      asString in class AbstractDustParticleEffect
      Mappings:
      Namespace Name Mixin selector
      official a Lhj;a()Ljava/lang/String;
      intermediary method_10293 Lnet/minecraft/class_2394;method_10293()Ljava/lang/String;
      named asString Lnet/minecraft/particle/ParticleEffect;asString()Ljava/lang/String;
    • getType

      Mappings:
      Namespace Name Mixin selector
      official b Lhj;b()Lhk;
      intermediary method_10295 Lnet/minecraft/class_2394;method_10295()Lnet/minecraft/class_2396;
      named getType Lnet/minecraft/particle/ParticleEffect;getType()Lnet/minecraft/particle/ParticleType;