Class BookMoveControl

java.lang.Object
net.minecraft.world.entity.ai.control.MoveControl
net.minecraft.world.entity.ai.control.FlyingMoveControl
johnsmith.enchantingoverhauled.entity.ai.control.BookMoveControl
All Implemented Interfaces:
net.minecraft.world.entity.ai.control.Control

public class BookMoveControl extends net.minecraft.world.entity.ai.control.FlyingMoveControl
  • Field Details

    • MAX_EUCLIDEAN_ATTACK_RANGE

      public static final double MAX_EUCLIDEAN_ATTACK_RANGE
      See Also:
  • Constructor Details

  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class net.minecraft.world.entity.ai.control.FlyingMoveControl
    • getMinimumSafeCombatAltitude

      public static double getMinimumSafeCombatAltitude(net.minecraft.world.entity.LivingEntity target)
    • getDesiredCombatAltitude

      public static double getDesiredCombatAltitude(net.minecraft.world.entity.LivingEntity target)
    • resolveCombatAltitudeForIncline

      public static double resolveCombatAltitudeForIncline(AbstractFlyingBookEntity book, net.minecraft.world.entity.LivingEntity target)
    • getMeleeVerticalStrikeLimit

      public static double getMeleeVerticalStrikeLimit(net.minecraft.world.entity.LivingEntity target)
    • isWithinMeleeStrikingRange

      public static boolean isWithinMeleeStrikingRange(AbstractFlyingBookEntity book, net.minecraft.world.entity.LivingEntity target)
    • canAscendFromMelee

      public static boolean canAscendFromMelee(AbstractFlyingBookEntity book, net.minecraft.world.entity.LivingEntity target)
    • resolveHighestClearAltitude

      public static double resolveHighestClearAltitude(AbstractFlyingBookEntity book, double desiredY)
    • hasHeadroom

      public static boolean hasHeadroom(AbstractFlyingBookEntity book, double targetY)
    • isTargetRanged

      public static boolean isTargetRanged(net.minecraft.world.entity.LivingEntity target)