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/Vibrationsintermediary net/minecraft/class_8514official egz
-
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(RegistryEntry<GameEvent> gameEvent) static intgetFrequency(RegistryKey<GameEvent> gameEvent) static RegistryKey<GameEvent> getResonation(int frequency) static intgetSignalStrength(float distance, int range)
-
Field Details
-
RESONATIONS
- Mappings:
Namespace Name Mixin selector named RESONATIONSLnet/minecraft/world/event/Vibrations;RESONATIONS:Ljava/util/List;intermediary field_44638Lnet/minecraft/class_8514;field_44638:Ljava/util/List;official c_Legz;c_:Ljava/util/List;
-
DEFAULT_FREQUENCY
static final int DEFAULT_FREQUENCY- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_FREQUENCYLnet/minecraft/world/event/Vibrations;DEFAULT_FREQUENCY:Iintermediary field_47839Lnet/minecraft/class_8514;field_47839:Iofficial d_Legz;d_:I
-
FREQUENCIES
- Mappings:
Namespace Name Mixin selector named FREQUENCIESLnet/minecraft/world/event/Vibrations;FREQUENCIES:Ljava/util/function/ToIntFunction;intermediary field_44639Lnet/minecraft/class_8514;field_44639:Ljava/util/function/ToIntFunction;official e_Legz;e_:Ljava/util/function/ToIntFunction;
-
-
Method Details
-
getVibrationListenerData
Vibrations.ListenerData getVibrationListenerData()- Mappings:
Namespace Name Mixin selector named getVibrationListenerDataLnet/minecraft/world/event/Vibrations;getVibrationListenerData()Lnet/minecraft/world/event/Vibrations$ListenerData;intermediary method_51298Lnet/minecraft/class_8514;method_51298()Lnet/minecraft/class_8514$class_8515;official gwLegz;gw()Legz$a;
-
getVibrationCallback
Vibrations.Callback getVibrationCallback()- Mappings:
Namespace Name Mixin selector named getVibrationCallbackLnet/minecraft/world/event/Vibrations;getVibrationCallback()Lnet/minecraft/world/event/Vibrations$Callback;intermediary method_51299Lnet/minecraft/class_8514;method_51299()Lnet/minecraft/class_8514$class_5719;official gxLegz;gx()Legz$d;
-
getFrequency
- Mappings:
Namespace Name Mixin selector named getFrequencyLnet/minecraft/world/event/Vibrations;getFrequency(Lnet/minecraft/registry/entry/RegistryEntry;)Iintermediary method_55783Lnet/minecraft/class_8514;method_55783(Lnet/minecraft/class_6880;)Iofficial a_Legz;a_(Ljg;)I
-
getFrequency
- Mappings:
Namespace Name Mixin selector named getFrequencyLnet/minecraft/world/event/Vibrations;getFrequency(Lnet/minecraft/registry/RegistryKey;)Iintermediary method_51385Lnet/minecraft/class_8514;method_51385(Lnet/minecraft/class_5321;)Iofficial aLegz;a(Lalq;)I
-
getResonation
- Mappings:
Namespace Name Mixin selector named getResonationLnet/minecraft/world/event/Vibrations;getResonation(I)Lnet/minecraft/registry/RegistryKey;intermediary method_51386Lnet/minecraft/class_8514;method_51386(I)Lnet/minecraft/class_5321;official bLegz;b(I)Lalq;
-
getSignalStrength
static int getSignalStrength(float distance, int range) - Mappings:
Namespace Name Mixin selector named getSignalStrengthLnet/minecraft/world/event/Vibrations;getSignalStrength(FI)Iintermediary method_51384Lnet/minecraft/class_8514;method_51384(FI)Iofficial a_Legz;a_(FI)I
-