Package net.minecraft.data.client
Class ModelProvider
java.lang.Object
net.minecraft.data.client.ModelProvider
- All Implemented Interfaces:
DataProvider
- Mappings:
Namespace Name official jy
intermediary net/minecraft/class_4916
named net/minecraft/data/client/ModelProvider
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DataGenerator.PathResolver
private static final Logger
private final DataGenerator.PathResolver
Fields inherited from interface net.minecraft.data.DataProvider
JSON_KEY_SORT_ORDER, JSON_KEY_SORTING_COMPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
void
run
(DataWriter writer) private <T> void
writeJsons
(DataWriter cache, Map<T, ? extends Supplier<JsonElement>> models, Function<T, Path> pathGetter)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official c
Ljy;c:Lorg/slf4j/Logger;
intermediary field_22845
Lnet/minecraft/class_4916;field_22845:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/data/client/ModelProvider;LOGGER:Lorg/slf4j/Logger;
-
blockstatesPathResolver
- Mappings:
Namespace Name Mixin selector official d
Ljy;d:Liy$a;
intermediary field_39375
Lnet/minecraft/class_4916;field_39375:Lnet/minecraft/class_2403$class_7489;
named blockstatesPathResolver
Lnet/minecraft/data/client/ModelProvider;blockstatesPathResolver:Lnet/minecraft/data/DataGenerator$PathResolver;
-
modelsPathResolver
- Mappings:
Namespace Name Mixin selector official e
Ljy;e:Liy$a;
intermediary field_39376
Lnet/minecraft/class_4916;field_39376:Lnet/minecraft/class_2403$class_7489;
named modelsPathResolver
Lnet/minecraft/data/client/ModelProvider;modelsPathResolver:Lnet/minecraft/data/DataGenerator$PathResolver;
-
-
Constructor Details
-
ModelProvider
- Mappings:
Namespace Name Mixin selector official <init>
Ljy;<init>(Liy;)V
intermediary <init>
Lnet/minecraft/class_4916;<init>(Lnet/minecraft/class_2403;)V
named <init>
Lnet/minecraft/data/client/ModelProvider;<init>(Lnet/minecraft/data/DataGenerator;)V
-
-
Method Details
-
run
- Specified by:
run
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector official a
Liz;a(Lix;)V
intermediary method_10319
Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)V
named run
Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)V
-
writeJsons
private <T> void writeJsons(DataWriter cache, Map<T, ? extends Supplier<JsonElement>> models, Function<T, Path> pathGetter) - Mappings:
Namespace Name Mixin selector official a
Ljy;a(Lix;Ljava/util/Map;Ljava/util/function/Function;)V
intermediary method_25735
Lnet/minecraft/class_4916;method_25735(Lnet/minecraft/class_7403;Ljava/util/Map;Ljava/util/function/Function;)V
named writeJsons
Lnet/minecraft/data/client/ModelProvider;writeJsons(Lnet/minecraft/data/DataWriter;Ljava/util/Map;Ljava/util/function/Function;)V
-
getName
- Specified by:
getName
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector official a
Liz;a()Ljava/lang/String;
intermediary method_10321
Lnet/minecraft/class_2405;method_10321()Ljava/lang/String;
named getName
Lnet/minecraft/data/DataProvider;getName()Ljava/lang/String;
-