Interface Vibrations

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

public interface Vibrations
Mappings:
Namespace Name
official dgm
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_ Ldgm;d_:[Ldgd;
      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_ Ldgm;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 fY Ldgm;fY()Ldgm$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 fZ Ldgm;fZ()Ldgm$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_ Ldgm;a_(Ldgd;)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 Ldgm;b(I)Ldgd;
      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_ Ldgm;a_(FI)I
      intermediary method_51384 Lnet/minecraft/class_8514;method_51384(FI)I
      named getSignalStrength Lnet/minecraft/world/event/Vibrations;getSignalStrength(FI)I