Interface Vibrations

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

public interface Vibrations
Mappings:
Namespace Name
official dgr
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_ Ldgr;d_:[Ldgi;
      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_ Ldgr;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 ga Ldgr;ga()Ldgr$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 gb Ldgr;gb()Ldgr$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_ Ldgr;a_(Ldgi;)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 Ldgr;b(I)Ldgi;
      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_ Ldgr;a_(FI)I
      intermediary method_51384 Lnet/minecraft/class_8514;method_51384(FI)I
      named getSignalStrength Lnet/minecraft/world/event/Vibrations;getSignalStrength(FI)I