getIdentifier

A convenience function for getting a Pokémon’s display name alongside its UUID. Helpful in debugging, for both user-friendly info (display name) and more specific data (UUID).

getImmuneToQuickball

Returns whether or not a Pokémon is immune to a Quick Ball.

getBucket

Returns the spawning bucket this Pokémon spawned via, if any.

getSpawnCause

Returns which spawning mechanism was responsible for this Pokémon spawning, if any. Current options are the player spawner (player_spawner) and the fishing spawner (fishing).

reserveFor

Reserves the Pokémon for a given player. Other players may not capture or harm this Pokémon.

You can pass a ServerPlayer, or that player’s UUID as either a UUID or a string.

getReservedFor

Gets the ID of the player this Pokémon is reserved for, if any.

isReservedFor

Gets if this Pokémon is unreserved, if it’s reserved for someone else, or if it’s reserved for the given player.

You can pass a ServerPlayer, or that player’s UUID as either a UUID or a string.