Class ValidateNearbyPoi
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<LivingEntity>
net.minecraft.world.entity.ai.behavior.ValidateNearbyPoi
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status -
Field Summary
FieldsFields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
entryCondition -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanbedIsOccupied(ServerLevel p_24531_, BlockPos p_24532_, LivingEntity p_24533_)protected booleancheckExtraStartConditions(ServerLevel p_24521_, LivingEntity p_24522_)private booleanpoiDoesntExist(ServerLevel p_24528_, BlockPos p_24529_)protected voidstart(ServerLevel p_24524_, LivingEntity p_24525_, long p_24526_)Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
MAX_DISTANCE
private static final int MAX_DISTANCE- See Also:
- Constant Field Values
-
memoryType
-
poiPredicate
-
-
Constructor Details
-
ValidateNearbyPoi
-
-
Method Details
-
checkExtraStartConditions
- Overrides:
checkExtraStartConditionsin classBehavior<LivingEntity>
-
start
- Overrides:
startin classBehavior<LivingEntity>
-
bedIsOccupied
-
poiDoesntExist
-