net.minecraft.world.event

public interface Vibrations

net.minecraft.world.level.gameevent.vibrations.VibrationSystem
net.minecraft.class_8514
net.minecraft.world.event.Vibrations

Field summary

Modifier and TypeField
List<RegistryKey<GameEvent>>
RESONANCE_EVENTS
field_44638
RESONATIONS
int
NO_VIBRATION_FREQUENCY
field_47839
DEFAULT_FREQUENCY
ToIntFunction<RegistryKey<GameEvent>>
VIBRATION_FREQUENCY_FOR_EVENT
field_44639
FREQUENCIES

Method summary

Modifier and TypeMethod
Vibrations$ListenerData
getVibrationData()
method_51298()
getVibrationListenerData()
Vibrations$Callback
getVibrationUser()
method_51299()
getVibrationCallback()
static int
getGameEventFrequency(Holder<GameEvent> event)
method_55783(class_6880<class_5712> arg0)
getFrequency(RegistryEntry<GameEvent> gameEvent)
static int
getGameEventFrequency(ResourceKey<GameEvent> event)
method_51385(class_5321<class_5712> arg0)
getFrequency(RegistryKey<GameEvent> gameEvent)
static RegistryKey<GameEvent>
getResonanceEventByFrequency(int vibrationFrequency)
method_51386(int arg0)
getResonation(int frequency)
static int
getRedstoneStrengthForDistance(float distance, int listenerRadius)
method_51384(float arg0, int arg1)
getSignalStrength(float distance, int range)
private static void
lambda$static$0(it.unimi.dsi.fastutil.objects.Reference2IntOpenHashMap arg0)
method_51383(it.unimi.dsi.fastutil.objects.Reference2IntOpenHashMap arg0)
method_51383(it.unimi.dsi.fastutil.objects.Reference2IntOpenHashMap frequencies)