Class TryFindLand
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<PathfinderMob>
net.minecraft.world.entity.ai.behavior.TryFindLand
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private long
private final int
private final float
Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
DEFAULT_DURATION, entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkExtraStartConditions
(ServerLevel p_217428_, PathfinderMob p_217429_) protected void
start
(ServerLevel p_217435_, PathfinderMob p_217436_, long p_217437_) protected void
stop
(ServerLevel p_217431_, PathfinderMob p_217432_, long p_217433_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, doStop, getStatus, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
COOLDOWN_TICKS
private static final int COOLDOWN_TICKS- See Also:
-
range
private final int range -
speedModifier
private final float speedModifier -
nextOkStartTime
private long nextOkStartTime
-
-
Constructor Details
-
TryFindLand
public TryFindLand(int p_217418_, float p_217419_)
-
-
Method Details
-
stop
- Overrides:
stop
in classBehavior<PathfinderMob>
-
checkExtraStartConditions
- Overrides:
checkExtraStartConditions
in classBehavior<PathfinderMob>
-
start
- Overrides:
start
in classBehavior<PathfinderMob>
-