Class LeapAtTargetGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.LeapAtTargetGoal

public class LeapAtTargetGoal extends Goal
  • Field Details

    • mob

      private final Mob mob
    • target

      private LivingEntity target
    • yd

      private final float yd
  • Constructor Details

    • LeapAtTargetGoal

      public LeapAtTargetGoal(Mob p_25492_, float p_25493_)
  • Method Details

    • canUse

      public boolean canUse()
      Specified by:
      canUse in class Goal
    • canContinueToUse

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

      public void start()
      Overrides:
      start in class Goal