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 dxg
-
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 e_
Ldxg;e_: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 f_
Ldxg;f_: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 g_
Ldxg;g_: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 gs
Ldxg;gs()Ldxg$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 gt
Ldxg;gt()Ldxg$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_
Ldxg;a_(Lji;)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
Ldxg;a(Lale;)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
Ldxg;b(I)Lale;
-
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_
Ldxg;a_(FI)I
-