Class MoveToTargetSink

java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Mob>
net.minecraft.world.entity.ai.behavior.MoveToTargetSink
All Implemented Interfaces:
BehaviorControl<Mob>

public class MoveToTargetSink extends Behavior<Mob>
  • Field Details

    • MAX_COOLDOWN_BEFORE_RETRYING

      private static final int MAX_COOLDOWN_BEFORE_RETRYING
      See Also:
    • remainingCooldown

      private int remainingCooldown
    • path

      @Nullable private Path path
    • lastTargetPos

      @Nullable private BlockPos lastTargetPos
    • speedModifier

      private float speedModifier
  • Constructor Details

    • MoveToTargetSink

      public MoveToTargetSink()
    • MoveToTargetSink

      public MoveToTargetSink(int p_23573_, int p_23574_)
  • Method Details