java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.species.Pokedex

public class Pokedex extends Object
  • Field Details

    • FULL_POKEDEX

      public static final Map<Integer,PokedexEntry> FULL_POKEDEX
      A map of National Pokédex numbers to Pokémon entries.
    • pokedexSize

      public static int pokedexSize
      The number of Pokémon in existence in-game.
    • actualPokedex

      public static Species[] actualPokedex
      The array of enabled pokemon
  • Constructor Details

    • Pokedex

      public Pokedex()
  • Method Details

    • resetPokedex

      public static void resetPokedex()
    • loadPokedex

      public static void loadPokedex()
    • nameToID

      public static int nameToID(String name)
      Gets the National Pokédex number of a Pokémon from its name.
      Parameters:
      name - The name of the Pokémon to get its number for.
      Returns:
      The National Pokédex number of the Pokémon, or 0 if the Pokémon doesn't exist.
    • isEntryEmpty

      public static boolean isEntryEmpty(int i)
      Checks if a number doesn't map to a Pokémon.
      Parameters:
      i - The number to check.
      Returns:
      True if the number doesn't map to a Pokémon.