Package net.minecraft.data.models
Class ModelProvider
java.lang.Object
net.minecraft.data.models.ModelProvider
- All Implemented Interfaces:
DataProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final PackOutput.PathProvider
private final PackOutput.PathProvider
Fields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR, LOGGER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
getName()
run
(CachedOutput p_253790_) private <T> CompletableFuture
<?> saveCollection
(CachedOutput p_254549_, Map<T, ? extends Supplier<com.google.gson.JsonElement>> p_253779_, Function<T, Path> p_254013_)
-
Field Details
-
blockStatePathProvider
-
modelPathProvider
-
-
Constructor Details
-
ModelProvider
-
-
Method Details
-
run
- Specified by:
run
in interfaceDataProvider
-
saveCollection
private <T> CompletableFuture<?> saveCollection(CachedOutput p_254549_, Map<T, ? extends Supplier<com.google.gson.JsonElement>> p_253779_, Function<T, Path> p_254013_) -
getName
- Specified by:
getName
in interfaceDataProvider
-