Package net.fabricmc.fabric.api.datagen.v1
package net.fabricmc.fabric.api.datagen.v1
The Data Generation API, version 1.
This API extends the data generation system used by Minecraft to allow for mods to generate data (json files) automatically.
Use the DataGeneratorEntrypoint
to register DataProvider
with the FabricDataGenerator
.
-
ClassDescriptionAn entry point for data generation.An extension to vanilla's
DataGenerator
providing mod specific data, and helper functions.FabricDataGenerator.Pack.Factory<T extends DataProvider>A factory of a data provider.A factory of a data provider.ExtendsDataOutput
to keep track of theModContainer
that it originated from.Provides a callback for setting the sort priority of object keys in generated JSON files.