Class Warden.VibrationUser
java.lang.Object
net.minecraft.world.entity.monster.warden.Warden.VibrationUser
- All Implemented Interfaces:
- VibrationSystem.User
- Enclosing class:
- Warden
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanReceiveVibration(ServerLevel p_282574_, BlockPos p_282323_, GameEvent p_283003_, GameEvent.Context p_282515_) booleanintvoidonReceiveVibration(ServerLevel p_281325_, BlockPos p_282386_, GameEvent p_282261_, Entity p_281438_, Entity p_282582_, float p_283699_) Methods 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, isValidVibration, onDataChanged, requiresAdjacentChunksToBeTicking
- 
Field Details- 
GAME_EVENT_LISTENER_RANGEprivate static final int GAME_EVENT_LISTENER_RANGE- See Also:
 
- 
positionSource
 
- 
- 
Constructor Details- 
VibrationUserVibrationUser()
 
- 
- 
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
 
- 
canTriggerAvoidVibrationpublic boolean canTriggerAvoidVibration()- Specified by:
- canTriggerAvoidVibrationin interface- VibrationSystem.User
 
- 
canReceiveVibrationpublic boolean canReceiveVibration(ServerLevel p_282574_, BlockPos p_282323_, GameEvent p_283003_, GameEvent.Context p_282515_) - Specified by:
- canReceiveVibrationin interface- VibrationSystem.User
 
- 
onReceiveVibrationpublic void onReceiveVibration(ServerLevel p_281325_, BlockPos p_282386_, GameEvent p_282261_, @Nullable Entity p_281438_, @Nullable Entity p_282582_, float p_283699_) - Specified by:
- onReceiveVibrationin interface- VibrationSystem.User
 
 
-