Class FabricDynamicRegistryProvider
java.lang.Object
net.fabricmc.fabric.api.datagen.v1.provider.FabricDynamicRegistryProvider
- All Implemented Interfaces:
DataProvider
A provider to help with data-generation of dynamic registry objects,
such as biomes, features, or message types.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
Fields inherited from interface net.minecraft.data.DataProvider
JSON_KEY_SORT_ORDER, JSON_KEY_SORTING_COMPARATOR
-
Constructor Summary
ConstructorDescriptionFabricDynamicRegistryProvider
(FabricDataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> registriesFuture) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
configure
(RegistryWrapper.WrapperLookup registries, FabricDynamicRegistryProvider.Entries entries) run
(DataWriter writer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.data.DataProvider
getName
-
Constructor Details
-
FabricDynamicRegistryProvider
public FabricDynamicRegistryProvider(FabricDataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> registriesFuture)
-
-
Method Details
-
configure
protected abstract void configure(RegistryWrapper.WrapperLookup registries, FabricDynamicRegistryProvider.Entries entries) -
run
- Specified by:
run
in interfaceDataProvider
-