Class VibrationParticleEffect

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

public class VibrationParticleEffect extends Object implements ParticleEffect
Mappings:
Namespace Name
official hz
intermediary net/minecraft/class_5745
named net/minecraft/particle/VibrationParticleEffect
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<VibrationParticleEffect> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lhz;a:Lcom/mojang/serialization/Codec;
      intermediary field_28277 Lnet/minecraft/class_5745;field_28277:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/particle/VibrationParticleEffect;CODEC:Lcom/mojang/serialization/Codec;
    • PARAMETERS_FACTORY

      public static final ParticleEffect.Factory<VibrationParticleEffect> PARAMETERS_FACTORY
      Mappings:
      Namespace Name Mixin selector
      official b Lhz;b:Lhv$a;
      intermediary field_28278 Lnet/minecraft/class_5745;field_28278:Lnet/minecraft/class_2394$class_2395;
      named PARAMETERS_FACTORY Lnet/minecraft/particle/VibrationParticleEffect;PARAMETERS_FACTORY:Lnet/minecraft/particle/ParticleEffect$Factory;
    • vibration

      private final Vibration vibration
      Mappings:
      Namespace Name Mixin selector
      official c Lhz;c:Lcsg;
      intermediary field_28279 Lnet/minecraft/class_5745;field_28279:Lnet/minecraft/class_5720;
      named vibration Lnet/minecraft/particle/VibrationParticleEffect;vibration:Lnet/minecraft/world/Vibration;
  • Constructor Details

    • VibrationParticleEffect

      public VibrationParticleEffect(Vibration vibration)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhz;<init>(Lcsg;)V
      intermediary <init> Lnet/minecraft/class_5745;<init>(Lnet/minecraft/class_5720;)V
      named <init> Lnet/minecraft/particle/VibrationParticleEffect;<init>(Lnet/minecraft/world/Vibration;)V
  • Method Details

    • write

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

      Specified by:
      getType in interface ParticleEffect
      Mappings:
      Namespace Name Mixin selector
      official b Lhv;b()Lhw;
      intermediary method_10295 Lnet/minecraft/class_2394;method_10295()Lnet/minecraft/class_2396;
      named getType Lnet/minecraft/particle/ParticleEffect;getType()Lnet/minecraft/particle/ParticleType;
    • getVibration

      public Vibration getVibration()
      Mappings:
      Namespace Name Mixin selector
      official c Lhz;c()Lcsg;
      intermediary method_33125 Lnet/minecraft/class_5745;method_33125()Lnet/minecraft/class_5720;
      named getVibration Lnet/minecraft/particle/VibrationParticleEffect;getVibration()Lnet/minecraft/world/Vibration;