Interface Vibrations

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

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

    • RESONATIONS

      static final GameEvent[] RESONATIONS
      Mappings:
      Namespace Name Mixin selector
      official d_ Ldgu;d_:[Ldgl;
      intermediary field_44638 Lnet/minecraft/class_8514;field_44638:[Lnet/minecraft/class_5712;
      named RESONATIONS Lnet/minecraft/world/event/Vibrations;RESONATIONS:[Lnet/minecraft/world/event/GameEvent;
    • FREQUENCIES

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

    • getVibrationListenerData

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

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

      static int getFrequency(GameEvent event)
      Mappings:
      Namespace Name Mixin selector
      official a_ Ldgu;a_(Ldgl;)I
      intermediary method_51385 Lnet/minecraft/class_8514;method_51385(Lnet/minecraft/class_5712;)I
      named getFrequency Lnet/minecraft/world/event/Vibrations;getFrequency(Lnet/minecraft/world/event/GameEvent;)I
    • getResonation

      static GameEvent getResonation(int frequency)
      Mappings:
      Namespace Name Mixin selector
      official b Ldgu;b(I)Ldgl;
      intermediary method_51386 Lnet/minecraft/class_8514;method_51386(I)Lnet/minecraft/class_5712;
      named getResonation Lnet/minecraft/world/event/Vibrations;getResonation(I)Lnet/minecraft/world/event/GameEvent;
    • getSignalStrength

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