Package net.minecraft.data.models
Class ModelProvider
java.lang.Object
net.minecraft.data.models.ModelProvider
- All Implemented Interfaces:
DataProvider
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DataGenerator.PathProvider
private static final org.slf4j.Logger
private final DataGenerator.PathProvider
Fields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
void
run
(CachedOutput p_236330_) private <T> void
saveCollection
(CachedOutput p_236332_, Map<T, ? extends Supplier<com.google.gson.JsonElement>> p_236333_, Function<T, Path> p_236334_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
blockStatePathProvider
-
modelPathProvider
-
-
Constructor Details
-
ModelProvider
-
-
Method Details
-
run
- Specified by:
run
in interfaceDataProvider
-
saveCollection
private <T> void saveCollection(CachedOutput p_236332_, Map<T, ? extends Supplier<com.google.gson.JsonElement>> p_236333_, Function<T, Path> p_236334_) -
getName
- Specified by:
getName
in interfaceDataProvider
-