Class SetWalkTargetFromAttackTargetIfTargetOutOfReach
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Mob>
net.minecraft.world.entity.ai.behavior.SetWalkTargetFromAttackTargetIfTargetOutOfReach
-
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 final Function<LivingEntity,
Float> Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
clearWalkTarget
(LivingEntity p_24036_) private void
setWalkAndLookTarget
(LivingEntity p_24038_, LivingEntity p_24039_) protected void
start
(ServerLevel p_24032_, Mob p_24033_, long p_24034_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, checkExtraStartConditions, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
PROJECTILE_ATTACK_RANGE_BUFFER
private static final int PROJECTILE_ATTACK_RANGE_BUFFER- See Also:
-
speedModifier
-
-
Constructor Details
-
SetWalkTargetFromAttackTargetIfTargetOutOfReach
public SetWalkTargetFromAttackTargetIfTargetOutOfReach(float p_24026_) -
SetWalkTargetFromAttackTargetIfTargetOutOfReach
-
-
Method Details