Class WalkToTargetTask

java.lang.Object
net.minecraft.entity.ai.brain.task.Task<MobEntity>
net.minecraft.entity.ai.brain.task.WalkToTargetTask

public class WalkToTargetTask extends Task<MobEntity>
  • Field Details

    • remainingCooldown

      private int remainingCooldown
    • path

      @Nullable private Path path
    • lastTargetPos

      @Nullable private BlockPos lastTargetPos
    • speedModifier

      private float speedModifier
  • Constructor Details

    • WalkToTargetTask

      public WalkToTargetTask()
    • WalkToTargetTask

      public WalkToTargetTask(int p_i241908_1_, int p_i241908_2_)
  • Method Details