Class MatchesSpecDataProvider
java.lang.Object
com.pixelmonmod.pixelmon.api.npc.interaction.provider.MutableDataProvider<Boolean>
com.pixelmonmod.pixelmon.api.npc.interaction.provider.type.player.MatchesSpecDataProvider
- All Implemented Interfaces:
DataProvider<Boolean>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<MatchesSpecDataProvider> protected DataProvider<Pokemon> protected PokemonSpecificationFields inherited from class com.pixelmonmod.pixelmon.api.npc.interaction.provider.MutableDataProvider
codec, constructor, inputTypes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMatchesSpecDataProvider(DataProvider<Pokemon> pokemon, PokemonSpecification spec) -
Method Summary
Modifier and TypeMethodDescriptionget(StoredContext context) static MatchesSpecDataProviderof(DataProvider<Pokemon> pokemon, PokemonSpecification spec) DataProviderType<?, ?> type()Methods inherited from class com.pixelmonmod.pixelmon.api.npc.interaction.provider.MutableDataProvider
codec, fill, inputTypes, transformData, variableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pixelmonmod.pixelmon.api.npc.interaction.provider.DataProvider
getKey
-
Field Details
-
CODEC
-
pokemon
-
spec
-
-
Constructor Details
-
MatchesSpecDataProvider
-
-
Method Details
-
of
- Parameters:
pokemon- ThePokemonDataProvider.spec- ThePokemonSpecificationto check against.- Returns:
- A new
MatchesSpecDataProvider.
-
type
-
get
-