java.lang.Object
net.minecraft.world.entity.animal.axolotl.AxolotlAi

public class AxolotlAi extends Object
  • Field Details

    • ADULT_FOLLOW_RANGE

      private static final UniformInt ADULT_FOLLOW_RANGE
    • SPEED_MULTIPLIER_WHEN_MAKING_LOVE

      private static final float SPEED_MULTIPLIER_WHEN_MAKING_LOVE
      See Also:
      Constant Field Values
    • SPEED_MULTIPLIER_ON_LAND

      private static final float SPEED_MULTIPLIER_ON_LAND
      See Also:
      Constant Field Values
    • SPEED_MULTIPLIER_WHEN_IDLING_IN_WATER

      private static final float SPEED_MULTIPLIER_WHEN_IDLING_IN_WATER
      See Also:
      Constant Field Values
    • SPEED_MULTIPLIER_WHEN_CHASING_IN_WATER

      private static final float SPEED_MULTIPLIER_WHEN_CHASING_IN_WATER
      See Also:
      Constant Field Values
    • SPEED_MULTIPLIER_WHEN_FOLLOWING_ADULT_IN_WATER

      private static final float SPEED_MULTIPLIER_WHEN_FOLLOWING_ADULT_IN_WATER
      See Also:
      Constant Field Values
  • Constructor Details

    • AxolotlAi

      public AxolotlAi()
  • Method Details

    • makeBrain

      protected static Brain<?> makeBrain(Brain<Axolotl> p_149291_)
    • initPlayDeadActivity

      private static void initPlayDeadActivity(Brain<Axolotl> p_149297_)
    • initFightActivity

      private static void initFightActivity(Brain<Axolotl> p_149303_)
    • initCoreActivity

      private static void initCoreActivity(Brain<Axolotl> p_149307_)
    • initIdleActivity

      private static void initIdleActivity(Brain<Axolotl> p_149309_)
    • canSetWalkTargetFromLookTarget

      private static boolean canSetWalkTargetFromLookTarget(LivingEntity p_182381_)
    • updateActivity

      public static void updateActivity(Axolotl p_149293_)
    • getSpeedModifierChasing

      private static float getSpeedModifierChasing(LivingEntity p_149289_)
    • getSpeedModifierFollowingAdult

      private static float getSpeedModifierFollowingAdult(LivingEntity p_149295_)
    • getSpeedModifier

      private static float getSpeedModifier(LivingEntity p_149301_)
    • findNearestValidAttackTarget

      private static Optional<? extends LivingEntity> findNearestValidAttackTarget(Axolotl p_149299_)
    • isBreeding

      private static boolean isBreeding(Axolotl p_149305_)
    • getTemptations

      public static Ingredient getTemptations()