Class VibrationParticleEffect

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

public class VibrationParticleEffect extends Object implements ParticleEffect
Mappings:
Namespace Name
official kb
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 Lkb;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 Lkb;b:Ljv$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;
    • destination

      private final PositionSource destination
      Mappings:
      Namespace Name Mixin selector
      official c Lkb;c:Ldnv;
      intermediary field_38361 Lnet/minecraft/class_5745;field_38361:Lnet/minecraft/class_5716;
      named destination Lnet/minecraft/particle/VibrationParticleEffect;destination:Lnet/minecraft/world/event/PositionSource;
    • arrivalInTicks

      private final int arrivalInTicks
      Mappings:
      Namespace Name Mixin selector
      official d Lkb;d:I
      intermediary field_38362 Lnet/minecraft/class_5745;field_38362:I
      named arrivalInTicks Lnet/minecraft/particle/VibrationParticleEffect;arrivalInTicks:I
  • Constructor Details

    • VibrationParticleEffect

      public VibrationParticleEffect(PositionSource destination, int arrivalInTicks)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lkb;<init>(Ldnv;I)V
      intermediary <init> Lnet/minecraft/class_5745;<init>(Lnet/minecraft/class_5716;I)V
      named <init> Lnet/minecraft/particle/VibrationParticleEffect;<init>(Lnet/minecraft/world/event/PositionSource;I)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface ParticleEffect
      Mappings:
      Namespace Name Mixin selector
      official a Ljv;a(Lui;)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 Ljv;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 Ljv;b()Ljw;
      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 PositionSource getVibration()
      Mappings:
      Namespace Name Mixin selector
      official c Lkb;c()Ldnv;
      intermediary method_33125 Lnet/minecraft/class_5745;method_33125()Lnet/minecraft/class_5716;
      named getVibration Lnet/minecraft/particle/VibrationParticleEffect;getVibration()Lnet/minecraft/world/event/PositionSource;
    • getArrivalInTicks

      public int getArrivalInTicks()
      Mappings:
      Namespace Name Mixin selector
      official d Lkb;d()I
      intermediary method_42624 Lnet/minecraft/class_5745;method_42624()I
      named getArrivalInTicks Lnet/minecraft/particle/VibrationParticleEffect;getArrivalInTicks()I