java.lang.Object
net.minecraft.world.entity.animal.goat.GoatAi

public class GoatAi extends Object
  • Field Details

    • RAM_PREPARE_TIME

      public static final int RAM_PREPARE_TIME
      See Also:
      Constant Field Values
    • RAM_MAX_DISTANCE

      public static final int RAM_MAX_DISTANCE
      See Also:
      Constant Field Values
    • 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_WHEN_IDLING

      private static final float SPEED_MULTIPLIER_WHEN_IDLING
      See Also:
      Constant Field Values
    • SPEED_MULTIPLIER_WHEN_FOLLOWING_ADULT

      private static final float SPEED_MULTIPLIER_WHEN_FOLLOWING_ADULT
      See Also:
      Constant Field Values
    • SPEED_MULTIPLIER_WHEN_TEMPTED

      private static final float SPEED_MULTIPLIER_WHEN_TEMPTED
      See Also:
      Constant Field Values
    • SPEED_MULTIPLIER_WHEN_PANICKING

      private static final float SPEED_MULTIPLIER_WHEN_PANICKING
      See Also:
      Constant Field Values
    • SPEED_MULTIPLIER_WHEN_PREPARING_TO_RAM

      private static final float SPEED_MULTIPLIER_WHEN_PREPARING_TO_RAM
      See Also:
      Constant Field Values
    • TIME_BETWEEN_LONG_JUMPS

      private static final UniformInt TIME_BETWEEN_LONG_JUMPS
    • MAX_LONG_JUMP_HEIGHT

      public static final int MAX_LONG_JUMP_HEIGHT
      See Also:
      Constant Field Values
    • MAX_LONG_JUMP_WIDTH

      public static final int MAX_LONG_JUMP_WIDTH
      See Also:
      Constant Field Values
    • MAX_JUMP_VELOCITY

      public static final float MAX_JUMP_VELOCITY
      See Also:
      Constant Field Values
    • TIME_BETWEEN_RAMS

      private static final UniformInt TIME_BETWEEN_RAMS
    • TIME_BETWEEN_RAMS_SCREAMER

      private static final UniformInt TIME_BETWEEN_RAMS_SCREAMER
    • RAM_TARGET_CONDITIONS

      private static final TargetingConditions RAM_TARGET_CONDITIONS
    • SPEED_MULTIPLIER_WHEN_RAMMING

      private static final float SPEED_MULTIPLIER_WHEN_RAMMING
      See Also:
      Constant Field Values
    • RAM_MIN_DISTANCE

      public static final int RAM_MIN_DISTANCE
      See Also:
      Constant Field Values
    • ADULT_RAM_KNOCKBACK_FORCE

      public static final float ADULT_RAM_KNOCKBACK_FORCE
      See Also:
      Constant Field Values
    • BABY_RAM_KNOCKBACK_FORCE

      public static final float BABY_RAM_KNOCKBACK_FORCE
      See Also:
      Constant Field Values
  • Constructor Details

    • GoatAi

      public GoatAi()
  • Method Details

    • initMemories

      protected static void initMemories(Goat p_149450_)
    • makeBrain

      protected static Brain<?> makeBrain(Brain<Goat> p_149448_)
    • initCoreActivity

      private static void initCoreActivity(Brain<Goat> p_149454_)
    • initIdleActivity

      private static void initIdleActivity(Brain<Goat> p_149458_)
    • initLongJumpActivity

      private static void initLongJumpActivity(Brain<Goat> p_149462_)
    • initRamActivity

      private static void initRamActivity(Brain<Goat> p_149466_)
    • updateActivity

      public static void updateActivity(Goat p_149456_)
    • getTemptations

      public static Ingredient getTemptations()