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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleancanReceiveVibration(ServerLevel p_282061_, BlockPos p_282550_, GameEvent p_281789_, GameEvent.Context p_281456_) private intgetBackSignal(Level p_282204_, BlockPos p_282397_, BlockState p_282240_) intMethods inherited from class net.minecraft.world.level.block.entity.SculkSensorBlockEntity.VibrationUser
canTriggerAvoidVibration, getPositionSource, onDataChanged, onReceiveVibration, requiresAdjacentChunksToBeTickingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
 getListenerRadiusin interfaceVibrationSystem.User- Overrides:
 getListenerRadiusin classSculkSensorBlockEntity.VibrationUser
 - 
canReceiveVibration
public boolean canReceiveVibration(ServerLevel p_282061_, BlockPos p_282550_, GameEvent p_281789_, @Nullable GameEvent.Context p_281456_) - Specified by:
 canReceiveVibrationin interfaceVibrationSystem.User- Overrides:
 canReceiveVibrationin classSculkSensorBlockEntity.VibrationUser
 - 
getBackSignal
 
 -