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_, Holder<GameEvent> p_316319_, GameEvent.Context p_283577_)
    • onReceiveVibration

      void onReceiveVibration(ServerLevel p_282148_, BlockPos p_282090_, Holder<GameEvent> p_316773_, @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(Holder<GameEvent> p_316804_, GameEvent.Context p_283373_)
    • onDataChanged

      default void onDataChanged()