Class AbstractDustParticleEffect

java.lang.Object
net.minecraft.particle.AbstractDustParticleEffect
All Implemented Interfaces:
ParticleEffect
Direct Known Subclasses:
DustColorTransitionParticleEffect, DustParticleEffect

public abstract class AbstractDustParticleEffect extends Object implements ParticleEffect
Mappings:
Namespace Name
official hs
intermediary net/minecraft/class_5744
named net/minecraft/particle/AbstractDustParticleEffect
  • Field Details

    • MIN_SCALE

      public static final float MIN_SCALE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lhs;e:F
      intermediary field_33114 Lnet/minecraft/class_5744;field_33114:F
      named MIN_SCALE Lnet/minecraft/particle/AbstractDustParticleEffect;MIN_SCALE:F
    • MAX_SCALE

      public static final float MAX_SCALE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lhs;f:F
      intermediary field_33115 Lnet/minecraft/class_5744;field_33115:F
      named MAX_SCALE Lnet/minecraft/particle/AbstractDustParticleEffect;MAX_SCALE:F
    • color

      protected final Vec3f color
      Mappings:
      Namespace Name Mixin selector
      official g Lhs;g:Lk;
      intermediary field_28273 Lnet/minecraft/class_5744;field_28273:Lnet/minecraft/class_1160;
      named color Lnet/minecraft/particle/AbstractDustParticleEffect;color:Lnet/minecraft/util/math/Vec3f;
    • scale

      protected final float scale
      Mappings:
      Namespace Name Mixin selector
      official h Lhs;h:F
      intermediary field_28274 Lnet/minecraft/class_5744;field_28274:F
      named scale Lnet/minecraft/particle/AbstractDustParticleEffect;scale:F
  • Constructor Details

    • AbstractDustParticleEffect

      public AbstractDustParticleEffect(Vec3f color, float scale)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhs;<init>(Lk;F)V
      intermediary <init> Lnet/minecraft/class_5744;<init>(Lnet/minecraft/class_1160;F)V
      named <init> Lnet/minecraft/particle/AbstractDustParticleEffect;<init>(Lnet/minecraft/util/math/Vec3f;F)V
  • Method Details

    • readColor

      public static Vec3f readColor(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lhs;a(Lcom/mojang/brigadier/StringReader;)Lk;
      intermediary method_33118 Lnet/minecraft/class_5744;method_33118(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_1160;
      named readColor Lnet/minecraft/particle/AbstractDustParticleEffect;readColor(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/util/math/Vec3f;
    • readColor

      public static Vec3f readColor(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official b Lhs;b(Lpn;)Lk;
      intermediary method_33466 Lnet/minecraft/class_5744;method_33466(Lnet/minecraft/class_2540;)Lnet/minecraft/class_1160;
      named readColor Lnet/minecraft/particle/AbstractDustParticleEffect;readColor(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/util/math/Vec3f;
    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface ParticleEffect
      Mappings:
      Namespace Name Mixin selector
      official a Lhv;a(Lpn;)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
      Mappings:
      Namespace Name Mixin selector
      official a Lhv;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;
    • getColor

      public Vec3f getColor()
      Mappings:
      Namespace Name Mixin selector
      official e Lhs;e()Lk;
      intermediary method_33119 Lnet/minecraft/class_5744;method_33119()Lnet/minecraft/class_1160;
      named getColor Lnet/minecraft/particle/AbstractDustParticleEffect;getColor()Lnet/minecraft/util/math/Vec3f;
    • getScale

      public float getScale()
      Mappings:
      Namespace Name Mixin selector
      official f Lhs;f()F
      intermediary method_33120 Lnet/minecraft/class_5744;method_33120()F
      named getScale Lnet/minecraft/particle/AbstractDustParticleEffect;getScale()F