getIdentifierA 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).
getImmuneToQuickballReturns whether or not a Pokémon is immune to a Quick Ball.
getBucketReturns the spawning bucket this Pokémon spawned via, if any.
getSpawnCauseReturns 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).
reserveForReserves 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.
getReservedForGets the ID of the player this Pokémon is reserved for, if any.
isReservedForGets 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.