Class SculkShriekerBlockEntity.VibrationUser
java.lang.Object
net.minecraft.world.level.block.entity.SculkShriekerBlockEntity.VibrationUser
- All Implemented Interfaces:
- VibrationSystem.User
- Enclosing class:
- SculkShriekerBlockEntity
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanReceiveVibration(ServerLevel p_281256_, BlockPos p_281528_, GameEvent p_282632_, GameEvent.Context p_282914_) intvoidvoidonReceiveVibration(ServerLevel p_283372_, BlockPos p_281679_, GameEvent p_282474_, Entity p_282286_, Entity p_281384_, float p_283119_) booleanMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.gameevent.vibrations.VibrationSystem.UsercalculateTravelTimeInTicks, canTriggerAvoidVibration, isValidVibration
- 
Field Details- 
LISTENER_RADIUSprivate static final int LISTENER_RADIUS- See Also:
 
- 
positionSource
 
- 
- 
Constructor Details- 
VibrationUserpublic VibrationUser()
 
- 
- 
Method Details- 
getListenerRadiuspublic int getListenerRadius()- Specified by:
- getListenerRadiusin interface- VibrationSystem.User
 
- 
getPositionSource- Specified by:
- getPositionSourcein interface- VibrationSystem.User
 
- 
getListenableEvents- Specified by:
- getListenableEventsin interface- VibrationSystem.User
 
- 
canReceiveVibrationpublic boolean canReceiveVibration(ServerLevel p_281256_, BlockPos p_281528_, GameEvent p_282632_, GameEvent.Context p_282914_) - Specified by:
- canReceiveVibrationin interface- VibrationSystem.User
 
- 
onReceiveVibrationpublic void onReceiveVibration(ServerLevel p_283372_, BlockPos p_281679_, GameEvent p_282474_, @Nullable Entity p_282286_, @Nullable Entity p_281384_, float p_283119_) - Specified by:
- onReceiveVibrationin interface- VibrationSystem.User
 
- 
onDataChangedpublic void onDataChanged()- Specified by:
- onDataChangedin interface- VibrationSystem.User
 
- 
requiresAdjacentChunksToBeTickingpublic boolean requiresAdjacentChunksToBeTicking()- Specified by:
- requiresAdjacentChunksToBeTickingin interface- VibrationSystem.User
 
 
-