Class Vibrations.ListenerData

java.lang.Object
net.minecraft.world.event.Vibrations.ListenerData
Enclosing interface:
Vibrations

public static final class Vibrations.ListenerData extends Object
Mappings:
Namespace Name
official doa$a
intermediary net/minecraft/class_8514$class_8515
named net/minecraft/world/event/Vibrations$ListenerData
  • Field Details

    • CODEC

      public static com.mojang.serialization.Codec<Vibrations.ListenerData> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldoa$a;a:Lcom/mojang/serialization/Codec;
      intermediary field_44640 Lnet/minecraft/class_8514$class_8515;field_44640:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/event/Vibrations$ListenerData;CODEC:Lcom/mojang/serialization/Codec;
    • LISTENER_NBT_KEY

      public static final String LISTENER_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ldoa$a;b:Ljava/lang/String;
      intermediary field_44641 Lnet/minecraft/class_8514$class_8515;field_44641:Ljava/lang/String;
      named LISTENER_NBT_KEY Lnet/minecraft/world/event/Vibrations$ListenerData;LISTENER_NBT_KEY:Ljava/lang/String;
    • vibration

      Mappings:
      Namespace Name Mixin selector
      official c Ldoa$a;c:Ldny;
      intermediary field_44642 Lnet/minecraft/class_8514$class_8515;field_44642:Lnet/minecraft/class_7269;
      named vibration Lnet/minecraft/world/event/Vibrations$ListenerData;vibration:Lnet/minecraft/world/event/listener/Vibration;
    • delay

      private int delay
      Mappings:
      Namespace Name Mixin selector
      official d Ldoa$a;d:I
      intermediary field_44643 Lnet/minecraft/class_8514$class_8515;field_44643:I
      named delay Lnet/minecraft/world/event/Vibrations$ListenerData;delay:I
    • vibrationSelector

      final VibrationSelector vibrationSelector
      Mappings:
      Namespace Name Mixin selector
      official e Ldoa$a;e:Ldnz;
      intermediary field_44644 Lnet/minecraft/class_8514$class_8515;field_44644:Lnet/minecraft/class_7722;
      named vibrationSelector Lnet/minecraft/world/event/Vibrations$ListenerData;vibrationSelector:Lnet/minecraft/world/event/listener/VibrationSelector;
    • spawnParticle

      private boolean spawnParticle
      Mappings:
      Namespace Name Mixin selector
      official f Ldoa$a;f:Z
      intermediary field_44645 Lnet/minecraft/class_8514$class_8515;field_44645:Z
      named spawnParticle Lnet/minecraft/world/event/Vibrations$ListenerData;spawnParticle:Z
  • Constructor Details

    • ListenerData

      private ListenerData(@Nullable @Nullable Vibration vibration, VibrationSelector vibrationSelector, int delay, boolean spawnParticle)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldoa$a;<init>(Ldny;Ldnz;IZ)V
      intermediary <init> Lnet/minecraft/class_8514$class_8515;<init>(Lnet/minecraft/class_7269;Lnet/minecraft/class_7722;IZ)V
      named <init> Lnet/minecraft/world/event/Vibrations$ListenerData;<init>(Lnet/minecraft/world/event/listener/Vibration;Lnet/minecraft/world/event/listener/VibrationSelector;IZ)V
    • ListenerData

      public ListenerData()
  • Method Details

    • getSelector

      public VibrationSelector getSelector()
      Mappings:
      Namespace Name Mixin selector
      official a Ldoa$a;a()Ldnz;
      intermediary method_51387 Lnet/minecraft/class_8514$class_8515;method_51387()Lnet/minecraft/class_7722;
      named getSelector Lnet/minecraft/world/event/Vibrations$ListenerData;getSelector()Lnet/minecraft/world/event/listener/VibrationSelector;
    • getVibration

      @Nullable public @Nullable Vibration getVibration()
      Mappings:
      Namespace Name Mixin selector
      official b Ldoa$a;b()Ldny;
      intermediary method_51394 Lnet/minecraft/class_8514$class_8515;method_51394()Lnet/minecraft/class_7269;
      named getVibration Lnet/minecraft/world/event/Vibrations$ListenerData;getVibration()Lnet/minecraft/world/event/listener/Vibration;
    • setVibration

      public void setVibration(@Nullable @Nullable Vibration vibration)
      Mappings:
      Namespace Name Mixin selector
      official a Ldoa$a;a(Ldny;)V
      intermediary method_51390 Lnet/minecraft/class_8514$class_8515;method_51390(Lnet/minecraft/class_7269;)V
      named setVibration Lnet/minecraft/world/event/Vibrations$ListenerData;setVibration(Lnet/minecraft/world/event/listener/Vibration;)V
    • getDelay

      public int getDelay()
      Mappings:
      Namespace Name Mixin selector
      official c Ldoa$a;c()I
      intermediary method_51395 Lnet/minecraft/class_8514$class_8515;method_51395()I
      named getDelay Lnet/minecraft/world/event/Vibrations$ListenerData;getDelay()I
    • setDelay

      public void setDelay(int delay)
      Mappings:
      Namespace Name Mixin selector
      official a Ldoa$a;a(I)V
      intermediary method_51388 Lnet/minecraft/class_8514$class_8515;method_51388(I)V
      named setDelay Lnet/minecraft/world/event/Vibrations$ListenerData;setDelay(I)V
    • tickDelay

      public void tickDelay()
      Mappings:
      Namespace Name Mixin selector
      official d Ldoa$a;d()V
      intermediary method_51396 Lnet/minecraft/class_8514$class_8515;method_51396()V
      named tickDelay Lnet/minecraft/world/event/Vibrations$ListenerData;tickDelay()V
    • shouldSpawnParticle

      public boolean shouldSpawnParticle()
      Mappings:
      Namespace Name Mixin selector
      official e Ldoa$a;e()Z
      intermediary method_51397 Lnet/minecraft/class_8514$class_8515;method_51397()Z
      named shouldSpawnParticle Lnet/minecraft/world/event/Vibrations$ListenerData;shouldSpawnParticle()Z
    • setSpawnParticle

      public void setSpawnParticle(boolean spawnParticle)
      Mappings:
      Namespace Name Mixin selector
      official a Ldoa$a;a(Z)V
      intermediary method_51393 Lnet/minecraft/class_8514$class_8515;method_51393(Z)V
      named setSpawnParticle Lnet/minecraft/world/event/Vibrations$ListenerData;setSpawnParticle(Z)V