Interface PokemonProvider
- All Known Implementing Classes:
AllPokemonProvider
,AllWithPaletteTagPokemonProvider
,CachingPokemonProvider
,DexPokemonProvider
public interface PokemonProvider
This represents a provider of Pokemon, which can be used to retrieve a list of Pokemon.
For Pokedex usage this is required to be implemented on both the client and the server as it will be synced to the client.
For Pokedex usage this is required to be implemented on both the client and the server as it will be synced to the client.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec
<? extends PokemonProvider> codec()
boolean
PokemonProviderType
<? extends PokemonProvider> type()
-
Field Details
-
CODEC
-
-
Method Details
-
type
PokemonProviderType<? extends PokemonProvider> type() -
codec
com.mojang.serialization.MapCodec<? extends PokemonProvider> codec() -
getPokemon
-
contains
-