Package net.minecraft.data.client
Class ModelProvider
java.lang.Object
net.minecraft.data.client.ModelProvider
- All Implemented Interfaces:
DataProvider
- Mappings:
Namespace Name named net/minecraft/data/client/ModelProvider
intermediary net/minecraft/class_4916
official nt
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DataOutput.PathResolver
private final DataOutput.PathResolver
Fields inherited from interface net.minecraft.data.DataProvider
JSON_KEY_SORT_ORDER, JSON_KEY_SORTING_COMPARATOR, LOGGER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
getName()
run
(DataWriter writer) private <T> CompletableFuture
<?> writeJsons
(DataWriter cache, Map<T, ? extends Supplier<JsonElement>> models, Function<T, Path> pathGetter)
-
Field Details
-
blockstatesPathResolver
- Mappings:
Namespace Name Mixin selector named blockstatesPathResolver
Lnet/minecraft/data/client/ModelProvider;blockstatesPathResolver:Lnet/minecraft/data/DataOutput$PathResolver;
intermediary field_39375
Lnet/minecraft/class_4916;field_39375:Lnet/minecraft/class_7784$class_7489;
official d
Lnt;d:Lly$a;
-
modelsPathResolver
- Mappings:
Namespace Name Mixin selector named modelsPathResolver
Lnet/minecraft/data/client/ModelProvider;modelsPathResolver:Lnet/minecraft/data/DataOutput$PathResolver;
intermediary field_39376
Lnet/minecraft/class_4916;field_39376:Lnet/minecraft/class_7784$class_7489;
official e
Lnt;e:Lly$a;
-
-
Constructor Details
-
ModelProvider
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/data/client/ModelProvider;<init>(Lnet/minecraft/data/DataOutput;)V
intermediary <init>
Lnet/minecraft/class_4916;<init>(Lnet/minecraft/class_7784;)V
official <init>
Lnt;<init>(Lly;)V
-
-
Method Details
-
run
- Specified by:
run
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector named run
Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture;
intermediary method_10319
Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)Ljava/util/concurrent/CompletableFuture;
official a
Llw;a(Llu;)Ljava/util/concurrent/CompletableFuture;
-
writeJsons
private <T> CompletableFuture<?> writeJsons(DataWriter cache, Map<T, ? extends Supplier<JsonElement>> models, Function<T, Path> pathGetter) - Mappings:
Namespace Name Mixin selector named writeJsons
Lnet/minecraft/data/client/ModelProvider;writeJsons(Lnet/minecraft/data/DataWriter;Ljava/util/Map;Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
intermediary method_25735
Lnet/minecraft/class_4916;method_25735(Lnet/minecraft/class_7403;Ljava/util/Map;Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
official a
Lnt;a(Llu;Ljava/util/Map;Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture;
-
getName
- Specified by:
getName
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector named getName
Lnet/minecraft/data/DataProvider;getName()Ljava/lang/String;
intermediary method_10321
Lnet/minecraft/class_2405;method_10321()Ljava/lang/String;
official a
Llw;a()Ljava/lang/String;
-