Package net.minecraft.world.event
Interface Vibrations
- All Known Implementing Classes:
AllayEntity,CalibratedSculkSensorBlockEntity,SculkSensorBlockEntity,SculkShriekerBlockEntity,WardenEntity
public interface Vibrations
- Mappings:
Namespace Name official doiintermediary net/minecraft/class_8514named net/minecraft/world/event/Vibrations
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic final classstatic interfacestatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final ToIntFunction<RegistryKey<GameEvent>>static final List<RegistryKey<GameEvent>> -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetFrequency(RegistryKey<GameEvent> registryKey) static RegistryKey<GameEvent>getResonation(int frequency) static intgetSignalStrength(float distance, int range) static intmethod_55783(RegistryEntry<GameEvent> registryEntry)
-
Field Details
-
RESONATIONS
- Mappings:
Namespace Name Mixin selector official e_Ldoi;e_:Ljava/util/List;intermediary field_44638Lnet/minecraft/class_8514;field_44638:Ljava/util/List;named RESONATIONSLnet/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_:Iintermediary field_47839Lnet/minecraft/class_8514;field_47839:Inamed field_47839Lnet/minecraft/world/event/Vibrations;field_47839:I
-
FREQUENCIES
- Mappings:
Namespace Name Mixin selector official g_Ldoi;g_:Ljava/util/function/ToIntFunction;intermediary field_44639Lnet/minecraft/class_8514;field_44639:Ljava/util/function/ToIntFunction;named FREQUENCIESLnet/minecraft/world/event/Vibrations;FREQUENCIES:Ljava/util/function/ToIntFunction;
-
-
Method Details
-
getVibrationListenerData
Vibrations.ListenerData getVibrationListenerData()- Mappings:
Namespace Name Mixin selector official ghLdoi;gh()Ldoi$a;intermediary method_51298Lnet/minecraft/class_8514;method_51298()Lnet/minecraft/class_8514$class_8515;named getVibrationListenerDataLnet/minecraft/world/event/Vibrations;getVibrationListenerData()Lnet/minecraft/world/event/Vibrations$ListenerData;
-
getVibrationCallback
Vibrations.Callback getVibrationCallback()- Mappings:
Namespace Name Mixin selector official giLdoi;gi()Ldoi$d;intermediary method_51299Lnet/minecraft/class_8514;method_51299()Lnet/minecraft/class_8514$class_5719;named getVibrationCallbackLnet/minecraft/world/event/Vibrations;getVibrationCallback()Lnet/minecraft/world/event/Vibrations$Callback;
-
method_55783
- Mappings:
Namespace Name Mixin selector official a_Ldoi;a_(Lih;)Iintermediary method_55783Lnet/minecraft/class_8514;method_55783(Lnet/minecraft/class_6880;)Inamed method_55783Lnet/minecraft/world/event/Vibrations;method_55783(Lnet/minecraft/registry/entry/RegistryEntry;)I
-
getFrequency
- Mappings:
Namespace Name Mixin selector official aLdoi;a(Lahg;)Iintermediary method_51385Lnet/minecraft/class_8514;method_51385(Lnet/minecraft/class_5321;)Inamed getFrequencyLnet/minecraft/world/event/Vibrations;getFrequency(Lnet/minecraft/registry/RegistryKey;)I
-
getResonation
- Mappings:
Namespace Name Mixin selector official bLdoi;b(I)Lahg;intermediary method_51386Lnet/minecraft/class_8514;method_51386(I)Lnet/minecraft/class_5321;named getResonationLnet/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)Iintermediary method_51384Lnet/minecraft/class_8514;method_51384(FI)Inamed getSignalStrengthLnet/minecraft/world/event/Vibrations;getSignalStrength(FI)I
-