java.lang.Object
com.pixelmonmod.pixelmon.battles.controller.ai.BattleAIBase
com.pixelmonmod.pixelmon.battles.controller.ai.NoOpAI

public class NoOpAI extends BattleAIBase
  • Constructor Details

    • NoOpAI

      public NoOpAI(BattleParticipant participant)
      Initializes the AI.
      Parameters:
      participant - The participant controlled by the AI.
  • Method Details

    • getNextMove

      public MoveChoice getNextMove(PixelmonWrapper pw)
      Description copied from class: BattleAIBase
      Gets the move the AI will make next.
      Specified by:
      getNextMove in class BattleAIBase
      Parameters:
      pw - The Pokémon to make a move with.
      Returns:
      The move the AI will make next.
    • getNextSwitch

      public UUID getNextSwitch(PixelmonWrapper pw)
      Description copied from class: BattleAIBase
      Gets a Pokémon to switch to when forced to switch.
      Specified by:
      getNextSwitch in class BattleAIBase
      Parameters:
      pw - The Pokémon switching out.
      Returns:
      The ID of the Pokémon to switch to.
    • getFaintedPokemonToRevive

      public UUID getFaintedPokemonToRevive()
      Description copied from class: BattleAIBase
      Gets a Pokémon to revive when forced to revive.
      Specified by:
      getFaintedPokemonToRevive in class BattleAIBase
      Returns:
      The ID of the Pokémon to switch to.