Class BackUpIfTooClose<E extends Mob>
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<E>
net.minecraft.world.entity.ai.behavior.BackUpIfTooClose<E>
-
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 TypeMethodDescriptionprotected boolean
checkExtraStartConditions(ServerLevel p_22502_, E p_22503_)
private LivingEntity
private boolean
isTargetTooClose(E p_22511_)
private boolean
isTargetVisible(E p_22509_)
protected void
start(ServerLevel p_22505_, E p_22506_, long p_22507_)
Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
tooCloseDistance
private final int tooCloseDistance -
strafeSpeed
private final float strafeSpeed
-
-
Constructor Details
-
BackUpIfTooClose
public BackUpIfTooClose(int p_22492_, float p_22493_)
-
-
Method Details