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
Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
bedIsOccupied(ServerLevel p_24531_, BlockPos p_24532_, LivingEntity p_24533_)
protected boolean
checkExtraStartConditions(ServerLevel p_24521_, LivingEntity p_24522_)
private boolean
poiDoesntExist(ServerLevel p_24528_, BlockPos p_24529_)
protected void
start(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:
checkExtraStartConditions
in classBehavior<LivingEntity>
-
start
- Overrides:
start
in classBehavior<LivingEntity>
-
bedIsOccupied
-
poiDoesntExist
-