Package net.minecraft.world.event
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 ecz
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static final class
static interface
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final ToIntFunction
<RegistryKey<GameEvent>> static final List
<RegistryKey<GameEvent>> -
Method Summary
Modifier and TypeMethodDescriptionstatic int
getFrequency
(RegistryEntry<GameEvent> gameEvent) static int
getFrequency
(RegistryKey<GameEvent> gameEvent) static RegistryKey
<GameEvent> getResonation
(int frequency) static int
getSignalStrength
(float distance, int range)
-
Field Details
-
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 d_
Lecz;d_: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 e_
Lecz;e_:I
-
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 f_
Lecz;f_: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
Lecz;gp()Lecz$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
Lecz;gq()Lecz$d;
-
getFrequency
- 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_
Lecz;a_(Ljq;)I
-
getFrequency
- 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
Lecz;a(Laly;)I
-
getResonation
- 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
Lecz;b(I)Laly;
-
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_
Lecz;a_(FI)I
-