Class ImmutableDataProvider<T>

java.lang.Object
com.pixelmonmod.pixelmon.api.npc.interaction.provider.ImmutableDataProvider<T>
All Implemented Interfaces:
DataProvider<T>
Direct Known Subclasses:
HandUsedDataProvider, PlayerExpLevelDataProvider, PlayerGameModeDataProvider, PlayerInventoryDataProvider, PlayerIPDataProvider, PlayerNameDataProvider, PlayerUUIDDataProvider

public abstract class ImmutableDataProvider<T> extends Object implements DataProvider<T>
  • Field Details

    • codec

      protected final com.mojang.serialization.Codec<? extends DataProvider<T>> codec
  • Constructor Details

    • ImmutableDataProvider

      protected ImmutableDataProvider(com.mojang.serialization.Codec<? extends DataProvider<T>> codec)
  • Method Details