Interface Vibrations

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

public interface Vibrations
Mappings:
Namespace Name
official dkc
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_ Ldkc;d_:[Ldjt;
      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_ Ldkc;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 gf Ldkc;gf()Ldkc$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 gg Ldkc;gg()Ldkc$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_ Ldkc;a_(Ldjt;)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 Ldkc;b(I)Ldjt;
      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_ Ldkc;a_(FI)I
      intermediary method_51384 Lnet/minecraft/class_8514;method_51384(FI)I
      named getSignalStrength Lnet/minecraft/world/event/Vibrations;getSignalStrength(FI)I