Package net.minecraft.world.event
Interface Vibrations
- All Known Implementing Classes:
AllayEntity
,CalibratedSculkSensorBlockEntity
,SculkSensorBlockEntity
,SculkShriekerBlockEntity
,WardenEntity
public interface Vibrations
- Mappings:
Namespace Name official doi
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
(RegistryKey<GameEvent> registryKey) static RegistryKey<GameEvent>
getResonation
(int frequency) static int
getSignalStrength
(float distance, int range) static int
method_55783
(RegistryEntry<GameEvent> registryEntry)
-
Field Details
-
RESONATIONS
- Mappings:
Namespace Name Mixin selector official e_
Ldoi;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;
-
field_47839
static final int field_47839- See Also:
- Mappings:
Namespace Name Mixin selector official f_
Ldoi;f_:I
intermediary field_47839
Lnet/minecraft/class_8514;field_47839:I
named field_47839
Lnet/minecraft/world/event/Vibrations;field_47839:I
-
FREQUENCIES
- Mappings:
Namespace Name Mixin selector official g_
Ldoi;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 gh
Ldoi;gh()Ldoi$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 gi
Ldoi;gi()Ldoi$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;
-
method_55783
- Mappings:
Namespace Name Mixin selector official a_
Ldoi;a_(Lih;)I
intermediary method_55783
Lnet/minecraft/class_8514;method_55783(Lnet/minecraft/class_6880;)I
named method_55783
Lnet/minecraft/world/event/Vibrations;method_55783(Lnet/minecraft/registry/entry/RegistryEntry;)I
-
getFrequency
- Mappings:
Namespace Name Mixin selector official a
Ldoi;a(Lahg;)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
Ldoi;b(I)Lahg;
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_
Ldoi;a_(FI)I
intermediary method_51384
Lnet/minecraft/class_8514;method_51384(FI)I
named getSignalStrength
Lnet/minecraft/world/event/Vibrations;getSignalStrength(FI)I
-