Class EnvironmentProviderType<T extends EnvironmentProvider>
java.lang.Object
com.github.thedeathlycow.thermoo.api.environment.provider.EnvironmentProviderType<T>
- Type Parameters:
T- The provider's type
A registry entry object that stores a
MapCodec for a EnvironmentProvider-
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentProviderType(com.mojang.serialization.MapCodec<T> codec) Constructs a new provider type with a codec -
Method Summary
-
Constructor Details
-
EnvironmentProviderType
Constructs a new provider type with a codec- Parameters:
codec- The codec for the type
-
-
Method Details
-
codec
- Returns:
- Returns the codec for this type
-