Class PokedexEntry
java.lang.Object
com.pixelmonmod.pixelmon.api.pokedex.PokedexEntry
A single Pokémon's entry in the Pokédex.
-
Constructor Summary
ConstructorDescriptionPokedexEntry
(int i, String n) PokedexEntry
(int i, String n, float w, float h) Initializes a Pokédex entry. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets the National Pokédex number of the Pokémon, formatted to 3 characters long.getRenderTarget
(net.minecraft.world.level.Level w) Initializes the Pokémon's entity.toString()
-
Constructor Details
-
PokedexEntry
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
-
-
Method Details
-
getName
-
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
Initializes the Pokémon's entity.- Parameters:
w
- The world to render the Pokémon in.- Returns:
- The Pokémon entity to display.
-
toString
-