Class PokedexEntry

java.lang.Object
com.pixelmonmod.pixelmon.api.pokedex.PokedexEntry

public class PokedexEntry extends Object
A single Pokémon's entry in the Pokédex.
  • Constructor Details

    • PokedexEntry

      public PokedexEntry(int i, String n, float w, float h)
      Initializes a Pokédex entry.
      Parameters:
      i - The National Pokédex number of the Pokémon.
      n - The unlocalized name of the Pokémon.
      w - The height of the Pokémon in meters.
      h - The weight of the Pokémon in kilograms.
    • PokedexEntry

      public PokedexEntry(int i, String n)
  • Method Details

    • getName

      public String getName()
    • getPokedexDisplayNumber

      public String getPokedexDisplayNumber()
      Gets the National Pokédex number of the Pokémon, formatted to 3 characters long.
      Returns:
      The National Pokédex number of the Pokémon.
    • getRenderTarget

      public PixelmonEntity getRenderTarget(net.minecraft.world.level.Level w)
      Initializes the Pokémon's entity.
      Parameters:
      w - The world to render the Pokémon in.
      Returns:
      The Pokémon entity to display.
    • toString

      public String toString()
      Overrides:
      toString in class Object