Package net.minecraft.world.event
Interface Vibrations
- All Known Implementing Classes:
AllayEntity
,CalibratedSculkSensorBlockEntity
,SculkSensorBlockEntity
,SculkShriekerBlockEntity
,WardenEntity
public interface Vibrations
- Mappings:
Namespace Name official dvj
intermediary net/minecraft/class_8514
named net/minecraft/world/event/Vibrations
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
static final class
static interface
static class
-
Field Summary
FieldsModifier 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 official e_
Ldvj;e_:Ljava/util/List;
intermediary field_44638
Lnet/minecraft/class_8514;field_44638:Ljava/util/List;
named RESONATIONS
Lnet/minecraft/world/event/Vibrations;RESONATIONS:Ljava/util/List;
-
DEFAULT_FREQUENCY
static final int DEFAULT_FREQUENCY- See Also:
- Mappings:
Namespace Name Mixin selector official f_
Ldvj;f_:I
intermediary field_47839
Lnet/minecraft/class_8514;field_47839:I
named DEFAULT_FREQUENCY
Lnet/minecraft/world/event/Vibrations;DEFAULT_FREQUENCY:I
-
FREQUENCIES
- Mappings:
Namespace Name Mixin selector official g_
Ldvj;g_: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 gr
Ldvj;gr()Ldvj$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 gs
Ldvj;gs()Ldvj$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
- Mappings:
Namespace Name Mixin selector official a_
Ldvj;a_(Liw;)I
intermediary method_55783
Lnet/minecraft/class_8514;method_55783(Lnet/minecraft/class_6880;)I
named getFrequency
Lnet/minecraft/world/event/Vibrations;getFrequency(Lnet/minecraft/registry/entry/RegistryEntry;)I
-
getFrequency
- Mappings:
Namespace Name Mixin selector official a
Ldvj;a(Lakg;)I
intermediary method_51385
Lnet/minecraft/class_8514;method_51385(Lnet/minecraft/class_5321;)I
named getFrequency
Lnet/minecraft/world/event/Vibrations;getFrequency(Lnet/minecraft/registry/RegistryKey;)I
-
getResonation
- Mappings:
Namespace Name Mixin selector official b
Ldvj;b(I)Lakg;
intermediary method_51386
Lnet/minecraft/class_8514;method_51386(I)Lnet/minecraft/class_5321;
named getResonation
Lnet/minecraft/world/event/Vibrations;getResonation(I)Lnet/minecraft/registry/RegistryKey;
-
getSignalStrength
static int getSignalStrength(float distance, int range) - Mappings:
Namespace Name Mixin selector official a_
Ldvj;a_(FI)I
intermediary method_51384
Lnet/minecraft/class_8514;method_51384(FI)I
named getSignalStrength
Lnet/minecraft/world/event/Vibrations;getSignalStrength(FI)I
-