Class LocateHidingPlace
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<LivingEntity>
net.minecraft.world.entity.ai.behavior.LocateHidingPlace
- Direct Known Subclasses:
LocateHidingPlaceDuringRaid
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private final float
Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkExtraStartConditions
(ServerLevel p_23412_, LivingEntity p_23413_) protected void
start
(ServerLevel p_23415_, LivingEntity p_23416_, long p_23417_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
speedModifier
private final float speedModifier -
radius
private final int radius -
closeEnoughDist
private final int closeEnoughDist -
currentPos
-
-
Constructor Details
-
LocateHidingPlace
public LocateHidingPlace(int p_23408_, float p_23409_, int p_23410_)
-
-
Method Details
-
checkExtraStartConditions
- Overrides:
checkExtraStartConditions
in classBehavior<LivingEntity>
-
start
- Overrides:
start
in classBehavior<LivingEntity>
-