Interface Vibrations

All Known Implementing Classes:
AllayEntity, CalibratedSculkSensorBlockEntity, SculkSensorBlockEntity, SculkShriekerBlockEntity, WardenEntity

public interface Vibrations
Mappings:
Namespace Name
named net/minecraft/world/event/Vibrations
intermediary net/minecraft/class_8514
official dxq
  • Field Details

    • RESONATIONS

      static final List<RegistryKey<GameEvent>> RESONATIONS
      Mappings:
      Namespace Name Mixin selector
      named RESONATIONS Lnet/minecraft/world/event/Vibrations;RESONATIONS:Ljava/util/List;
      intermediary field_44638 Lnet/minecraft/class_8514;field_44638:Ljava/util/List;
      official e_ Ldxq;e_:Ljava/util/List;
    • DEFAULT_FREQUENCY

      static final int DEFAULT_FREQUENCY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_FREQUENCY Lnet/minecraft/world/event/Vibrations;DEFAULT_FREQUENCY:I
      intermediary field_47839 Lnet/minecraft/class_8514;field_47839:I
      official f_ Ldxq;f_:I
    • FREQUENCIES

      static final ToIntFunction<RegistryKey<GameEvent>> FREQUENCIES
      Mappings:
      Namespace Name Mixin selector
      named FREQUENCIES Lnet/minecraft/world/event/Vibrations;FREQUENCIES:Ljava/util/function/ToIntFunction;
      intermediary field_44639 Lnet/minecraft/class_8514;field_44639:Ljava/util/function/ToIntFunction;
      official g_ Ldxq;g_:Ljava/util/function/ToIntFunction;
  • Method Details

    • getVibrationListenerData

      Vibrations.ListenerData getVibrationListenerData()
      Mappings:
      Namespace Name Mixin selector
      named getVibrationListenerData Lnet/minecraft/world/event/Vibrations;getVibrationListenerData()Lnet/minecraft/world/event/Vibrations$ListenerData;
      intermediary method_51298 Lnet/minecraft/class_8514;method_51298()Lnet/minecraft/class_8514$class_8515;
      official gp Ldxq;gp()Ldxq$a;
    • getVibrationCallback

      Vibrations.Callback getVibrationCallback()
      Mappings:
      Namespace Name Mixin selector
      named getVibrationCallback Lnet/minecraft/world/event/Vibrations;getVibrationCallback()Lnet/minecraft/world/event/Vibrations$Callback;
      intermediary method_51299 Lnet/minecraft/class_8514;method_51299()Lnet/minecraft/class_8514$class_5719;
      official gq Ldxq;gq()Ldxq$d;
    • getFrequency

      static int getFrequency(RegistryEntry<GameEvent> gameEvent)
      Mappings:
      Namespace Name Mixin selector
      named getFrequency Lnet/minecraft/world/event/Vibrations;getFrequency(Lnet/minecraft/registry/entry/RegistryEntry;)I
      intermediary method_55783 Lnet/minecraft/class_8514;method_55783(Lnet/minecraft/class_6880;)I
      official a_ Ldxq;a_(Ljj;)I
    • getFrequency

      static int getFrequency(RegistryKey<GameEvent> gameEvent)
      Mappings:
      Namespace Name Mixin selector
      named getFrequency Lnet/minecraft/world/event/Vibrations;getFrequency(Lnet/minecraft/registry/RegistryKey;)I
      intermediary method_51385 Lnet/minecraft/class_8514;method_51385(Lnet/minecraft/class_5321;)I
      official a Ldxq;a(Lakj;)I
    • getResonation

      static RegistryKey<GameEvent> getResonation(int frequency)
      Mappings:
      Namespace Name Mixin selector
      named getResonation Lnet/minecraft/world/event/Vibrations;getResonation(I)Lnet/minecraft/registry/RegistryKey;
      intermediary method_51386 Lnet/minecraft/class_8514;method_51386(I)Lnet/minecraft/class_5321;
      official b Ldxq;b(I)Lakj;
    • getSignalStrength

      static int getSignalStrength(float distance, int range)
      Mappings:
      Namespace Name Mixin selector
      named getSignalStrength Lnet/minecraft/world/event/Vibrations;getSignalStrength(FI)I
      intermediary method_51384 Lnet/minecraft/class_8514;method_51384(FI)I
      official a_ Ldxq;a_(FI)I