Type is ObjectValue<AbstractPokedexManager>.
|seen_count(): Double
|caught_percent(): Double
|seen_percent(): Double
|player_id(): String
| Name | Description | Usage | Must Be PokedexManager
|
|---|---|---|---|
get_species_record(species: ResourceLocation): QueryStruct
|
Returns a QueryStruct<SpeciesDexRecord> with useful functions for acessing and modifiing records. If the ResourceLocation is invalid or the record does not exist then the function returns an empty QueryStruct.
|
v.pokedex.get_species_record('pikachu')
|
|
has_seen(species: ResourceLocation, form: String?): Double
|
Returns 1.0 if the Pokémon of species and optionally form been encountered or higher, otherwise returns 0.0.
|
v.pokedex.has_seen('pikachu')
|
|
has_caught(species: ResourceLocation, form: String?): Double
|
Returns 1.0 if the Pokémon of species and optionally form been caught, otherwise returns 0.0.
|
v.pokedex.has_caught('cobblemon:pikachu', 'alolan')
|
|
caught_count(): Double
|
Returns the number of caught Pokémon as a Double. | v.pokedex.caught_count()
|
|
Returns the number of seen Pokémon as a Double.
|v.pokedex.seen_count()
|
|||
Returns the percent of Pokémon caught as a Double.
|v.pokedex.caught_percent()
|
|||
Returns the percent of Pokémon seen as a Double.
|v.pokedex.seen_percent()
|
|||
Returns the Player's UUID that belongs to the Pokédex.
|v.pokedex.player_id()
|
Yes | ||
see(pokemon: ObjectValue<Pokemon>): Double
|
Updates the Pokédex with a new encountered record of the Pokemon. Returns 1.0.
|
v.pokedex.see(v.pokemon)
|
Yes |
catch(Pokemon: ObjectValue<Pokemon>): Double
|
Updates the Pokédex with a new catch record of the Pokemon. Returns 1.0.
|
v.pokedex.catch(v.pokemon)
|
Yes |