Class SculkShriekerBlockEntity.VibrationUser
java.lang.Object
net.minecraft.world.level.block.entity.SculkShriekerBlockEntity.VibrationUser
- All Implemented Interfaces:
 VibrationSystem.User
- Enclosing class:
 - SculkShriekerBlockEntity
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.gameevent.vibrations.VibrationSystem.User
calculateTravelTimeInTicks, canTriggerAvoidVibration, isValidVibration 
- 
Field Details
- 
LISTENER_RADIUS
private static final int LISTENER_RADIUS- See Also:
 
 - 
positionSource
 
 - 
 - 
Constructor Details
- 
VibrationUser
public VibrationUser() 
 - 
 - 
Method Details
- 
getListenerRadius
public int getListenerRadius()- Specified by:
 getListenerRadiusin interfaceVibrationSystem.User
 - 
getPositionSource
- Specified by:
 getPositionSourcein interfaceVibrationSystem.User
 - 
getListenableEvents
- Specified by:
 getListenableEventsin interfaceVibrationSystem.User
 - 
canReceiveVibration
public boolean canReceiveVibration(ServerLevel p_281256_, BlockPos p_281528_, GameEvent p_282632_, GameEvent.Context p_282914_) - Specified by:
 canReceiveVibrationin interfaceVibrationSystem.User
 - 
onReceiveVibration
public 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 interfaceVibrationSystem.User
 - 
onDataChanged
public void onDataChanged()- Specified by:
 onDataChangedin interfaceVibrationSystem.User
 - 
requiresAdjacentChunksToBeTicking
public boolean requiresAdjacentChunksToBeTicking()- Specified by:
 requiresAdjacentChunksToBeTickingin interfaceVibrationSystem.User
 
 -