java.lang.Object
net.minecraft.world.entity.animal.frog.FrogAi

public class FrogAi extends Object
  • Field Details

    • SPEED_MULTIPLIER_WHEN_PANICKING

      private static final float SPEED_MULTIPLIER_WHEN_PANICKING
      See Also:
    • SPEED_MULTIPLIER_WHEN_MAKING_LOVE

      private static final float SPEED_MULTIPLIER_WHEN_MAKING_LOVE
      See Also:
    • SPEED_MULTIPLIER_WHEN_IDLING

      private static final float SPEED_MULTIPLIER_WHEN_IDLING
      See Also:
    • SPEED_MULTIPLIER_ON_LAND

      private static final float SPEED_MULTIPLIER_ON_LAND
      See Also:
    • SPEED_MULTIPLIER_IN_WATER

      private static final float SPEED_MULTIPLIER_IN_WATER
      See Also:
    • TIME_BETWEEN_LONG_JUMPS

      private static final UniformInt TIME_BETWEEN_LONG_JUMPS
    • MAX_LONG_JUMP_HEIGHT

      private static final int MAX_LONG_JUMP_HEIGHT
      See Also:
    • MAX_LONG_JUMP_WIDTH

      private static final int MAX_LONG_JUMP_WIDTH
      See Also:
    • MAX_JUMP_VELOCITY

      private static final float MAX_JUMP_VELOCITY
      See Also:
    • SPEED_MULTIPLIER_WHEN_TEMPTED

      private static final float SPEED_MULTIPLIER_WHEN_TEMPTED
      See Also:
  • Constructor Details

    • FrogAi

      public FrogAi()
  • Method Details

    • initMemories

      protected static void initMemories(Frog p_218580_, RandomSource p_218581_)
    • makeBrain

      protected static Brain<?> makeBrain(Brain<Frog> p_218576_)
    • initCoreActivity

      private static void initCoreActivity(Brain<Frog> p_218587_)
    • initIdleActivity

      private static void initIdleActivity(Brain<Frog> p_218591_)
    • initSwimActivity

      private static void initSwimActivity(Brain<Frog> p_218595_)
    • initLaySpawnActivity

      private static void initLaySpawnActivity(Brain<Frog> p_218599_)
    • initJumpActivity

      private static void initJumpActivity(Brain<Frog> p_218603_)
    • initTongueActivity

      private static void initTongueActivity(Brain<Frog> p_218607_)
    • canAttack

      private static boolean canAttack(Frog p_218589_)
    • updateActivity

      public static void updateActivity(Frog p_218578_)
    • getTemptations

      public static Ingredient getTemptations()