Class CalibratedSculkSensorBlockEntity.VibrationUser
java.lang.Object
net.minecraft.world.level.block.entity.SculkSensorBlockEntity.VibrationUser
net.minecraft.world.level.block.entity.CalibratedSculkSensorBlockEntity.VibrationUser
- All Implemented Interfaces:
VibrationSystem.User
- Enclosing class:
- CalibratedSculkSensorBlockEntity
protected class CalibratedSculkSensorBlockEntity.VibrationUser
extends SculkSensorBlockEntity.VibrationUser
-
Field Summary
Fields inherited from class net.minecraft.world.level.block.entity.SculkSensorBlockEntity.VibrationUser
blockPos, LISTENER_RANGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canReceiveVibration
(ServerLevel p_282061_, BlockPos p_282550_, GameEvent p_281789_, GameEvent.Context p_281456_) private int
getBackSignal
(Level p_282204_, BlockPos p_282397_, BlockState p_282240_) int
Methods inherited from class net.minecraft.world.level.block.entity.SculkSensorBlockEntity.VibrationUser
canTriggerAvoidVibration, getPositionSource, onDataChanged, onReceiveVibration, requiresAdjacentChunksToBeTicking
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.gameevent.vibrations.VibrationSystem.User
calculateTravelTimeInTicks, getListenableEvents, isValidVibration
-
Constructor Details
-
VibrationUser
-
-
Method Details
-
getListenerRadius
public int getListenerRadius()- Specified by:
getListenerRadius
in interfaceVibrationSystem.User
- Overrides:
getListenerRadius
in classSculkSensorBlockEntity.VibrationUser
-
canReceiveVibration
public boolean canReceiveVibration(ServerLevel p_282061_, BlockPos p_282550_, GameEvent p_281789_, @Nullable GameEvent.Context p_281456_) - Specified by:
canReceiveVibration
in interfaceVibrationSystem.User
- Overrides:
canReceiveVibration
in classSculkSensorBlockEntity.VibrationUser
-
getBackSignal
-