Class FabricModelProvider
java.lang.Object
net.minecraft.data.client.ModelProvider
net.fabricmc.fabric.api.datagen.v1.provider.FabricModelProvider
- All Implemented Interfaces:
DataProvider
Extend this class and implement
generateBlockStateModels(net.minecraft.data.client.BlockStateModelGenerator)
and generateItemModels(net.minecraft.data.client.ItemModelGenerator)
.
Register an instance of the class with FabricDataGenerator.Pack.addProvider(net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator.Pack.Factory<T>)
in a DataGeneratorEntrypoint
.
-
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, LOGGER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
generateBlockStateModels
(BlockStateModelGenerator blockStateModelGenerator) abstract void
generateItemModels
(ItemModelGenerator itemModelGenerator) Methods inherited from class net.minecraft.data.client.ModelProvider
getName, run
-
Constructor Details
-
FabricModelProvider
-
-
Method Details
-
generateBlockStateModels
-
generateItemModels
-