Interface VibrationSystem.User

All Known Implementing Classes:
Allay.VibrationUser, CalibratedSculkSensorBlockEntity.VibrationUser, SculkSensorBlockEntity.VibrationUser, SculkShriekerBlockEntity.VibrationUser, Warden.VibrationUser
Enclosing interface:
VibrationSystem

public static interface VibrationSystem.User
  • Method Details

    • getListenerRadius

      int getListenerRadius()
    • getPositionSource

      PositionSource getPositionSource()
    • canReceiveVibration

      boolean canReceiveVibration(ServerLevel p_282960_, BlockPos p_282488_, GameEvent p_282865_, GameEvent.Context p_283577_)
    • onReceiveVibration

      void onReceiveVibration(ServerLevel p_282148_, BlockPos p_282090_, GameEvent p_283663_, @Nullable Entity p_281578_, @Nullable Entity p_281308_, float p_281707_)
    • getListenableEvents

      default TagKey<GameEvent> getListenableEvents()
    • canTriggerAvoidVibration

      default boolean canTriggerAvoidVibration()
    • requiresAdjacentChunksToBeTicking

      default boolean requiresAdjacentChunksToBeTicking()
    • calculateTravelTimeInTicks

      default int calculateTravelTimeInTicks(float p_281658_)
    • isValidVibration

      default boolean isValidVibration(GameEvent p_282750_, GameEvent.Context p_283373_)
    • onDataChanged

      default void onDataChanged()