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 GameEvent[]
static final ToIntFunction<GameEvent>
Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic int
getGameEventFrequency
(GameEvent p_281355_) static int
getRedstoneStrengthForDistance
(float p_282483_, int p_282722_) static GameEvent
getResonanceEventByFrequency
(int p_282105_)
-
Field Details
-
RESONANCE_EVENTS
-
VIBRATION_FREQUENCY_FOR_EVENT
Deprecated.Neo: use thedata map
instead.
-
-
Method Details
-
getVibrationData
VibrationSystem.Data getVibrationData() -
getVibrationUser
VibrationSystem.User getVibrationUser() -
getGameEventFrequency
-
getResonanceEventByFrequency
-
getRedstoneStrengthForDistance
static int getRedstoneStrengthForDistance(float p_282483_, int p_282722_)
-
data map
instead.