Class PounceAtTargetGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.PounceAtTargetGoal

public class PounceAtTargetGoal
extends Goal
  • Field Details

    • mob

      private final MobEntity mob
    • target

      private LivingEntity target
    • velocity

      private final float velocity
  • Constructor Details

    • PounceAtTargetGoal

      public PounceAtTargetGoal​(MobEntity mob, float velocity)
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
    • start

      public void start()
      Overrides:
      start in class Goal