Interface VibrationSystem
- All Known Implementing Classes:
Allay
,CalibratedSculkSensorBlockEntity
,SculkSensorBlockEntity
,SculkShriekerBlockEntity
,Warden
public interface VibrationSystem
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static class
static interface
static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final List
<ResourceKey<GameEvent>> static final ToIntFunction
<ResourceKey<GameEvent>> -
Method Summary
Modifier and TypeMethodDescriptionstatic int
getGameEventFrequency
(Holder<GameEvent> p_330756_) static int
getGameEventFrequency
(ResourceKey<GameEvent> p_335067_) static int
getRedstoneStrengthForDistance
(float p_282483_, int p_282722_) static ResourceKey
<GameEvent> getResonanceEventByFrequency
(int p_282105_)
-
Field Details
-
RESONANCE_EVENTS
-
DEFAULT_VIBRATION_FREQUENCY
static final int DEFAULT_VIBRATION_FREQUENCY- See Also:
-
VIBRATION_FREQUENCY_FOR_EVENT
-
-
Method Details
-
getVibrationData
VibrationSystem.Data getVibrationData() -
getVibrationUser
VibrationSystem.User getVibrationUser() -
getGameEventFrequency
-
getGameEventFrequency
-
getResonanceEventByFrequency
-
getRedstoneStrengthForDistance
static int getRedstoneStrengthForDistance(float p_282483_, int p_282722_)
-