Interface FabricDataGenerator.Pack.RegistryDependentFactory<T extends DataProvider>
- Enclosing class:
FabricDataGenerator.Pack
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface FabricDataGenerator.Pack.RegistryDependentFactory<T extends DataProvider>
A factory of a data provider. This is usually the constructor.
The provider has access to the registries.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(FabricDataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> registriesFuture)
-
Method Details
-
create
T create(FabricDataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> registriesFuture)
-