Package net.minecraft.data.report
Class DynamicRegistriesProvider
java.lang.Object
net.minecraft.data.report.DynamicRegistriesProvider
- All Implemented Interfaces:
DataProvider
- Mappings:
Namespace Name official mg
intermediary net/minecraft/class_5475
named net/minecraft/data/report/DynamicRegistriesProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Logger
private final DataOutput
private final CompletableFuture<RegistryWrapper.WrapperLookup>
Fields inherited from interface net.minecraft.data.DataProvider
JSON_KEY_SORT_ORDER, JSON_KEY_SORTING_COMPARATOR
-
Constructor Summary
ConstructorDescriptionDynamicRegistriesProvider
(DataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture) -
Method Summary
Modifier and TypeMethodDescriptionfinal String
getName()
run
(DataWriter writer) private <T> Optional<CompletableFuture<?>>
writeRegistryEntries
(DataWriter writer, RegistryWrapper.WrapperLookup lookup, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops, RegistryLoader.Entry<T> registry) private static <E> CompletableFuture<?>
writeToPath
(Path path, DataWriter cache, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> json, com.mojang.serialization.Encoder<E> encoder, E value)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official d
Lmg;d:Lorg/slf4j/Logger;
intermediary field_26377
Lnet/minecraft/class_5475;field_26377:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/data/report/DynamicRegistriesProvider;LOGGER:Lorg/slf4j/Logger;
-
output
- Mappings:
Namespace Name Mixin selector official e
Lmg;e:Ljk;
intermediary field_40665
Lnet/minecraft/class_5475;field_40665:Lnet/minecraft/class_7784;
named output
Lnet/minecraft/data/report/DynamicRegistriesProvider;output:Lnet/minecraft/data/DataOutput;
-
registryLookupFuture
- Mappings:
Namespace Name Mixin selector official f
Lmg;f:Ljava/util/concurrent/CompletableFuture;
intermediary field_40952
Lnet/minecraft/class_5475;field_40952:Ljava/util/concurrent/CompletableFuture;
named registryLookupFuture
Lnet/minecraft/data/report/DynamicRegistriesProvider;registryLookupFuture:Ljava/util/concurrent/CompletableFuture;
-
-
Constructor Details
-
DynamicRegistriesProvider
public DynamicRegistriesProvider(DataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture) - Mappings:
Namespace Name Mixin selector official <init>
Lmg;<init>(Ljk;Ljava/util/concurrent/CompletableFuture;)V
intermediary <init>
Lnet/minecraft/class_5475;<init>(Lnet/minecraft/class_7784;Ljava/util/concurrent/CompletableFuture;)V
named <init>
Lnet/minecraft/data/report/DynamicRegistriesProvider;<init>(Lnet/minecraft/data/DataOutput;Ljava/util/concurrent/CompletableFuture;)V
-
-
Method Details
-
run
- Specified by:
run
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector official a
Lji;a(Ljg;)Ljava/util/concurrent/CompletableFuture;
intermediary method_10319
Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)Ljava/util/concurrent/CompletableFuture;
named run
Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture;
-
writeRegistryEntries
private <T> Optional<CompletableFuture<?>> writeRegistryEntries(DataWriter writer, RegistryWrapper.WrapperLookup lookup, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops, RegistryLoader.Entry<T> registry) - Mappings:
Namespace Name Mixin selector official a
Lmg;a(Ljg;Lhg$b;Lcom/mojang/serialization/DynamicOps;Laer$b;)Ljava/util/Optional;
intermediary method_39678
Lnet/minecraft/class_5475;method_39678(Lnet/minecraft/class_7403;Lnet/minecraft/class_7225$class_7874;Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/class_7655$class_7657;)Ljava/util/Optional;
named writeRegistryEntries
Lnet/minecraft/data/report/DynamicRegistriesProvider;writeRegistryEntries(Lnet/minecraft/data/DataWriter;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/registry/RegistryLoader$Entry;)Ljava/util/Optional;
-
writeToPath
private static <E> CompletableFuture<?> writeToPath(Path path, DataWriter cache, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> json, com.mojang.serialization.Encoder<E> encoder, E value) - Mappings:
Namespace Name Mixin selector official a
Lmg;a(Ljava/nio/file/Path;Ljg;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Encoder;Ljava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
intermediary method_39680
Lnet/minecraft/class_5475;method_39680(Ljava/nio/file/Path;Lnet/minecraft/class_7403;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Encoder;Ljava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
named writeToPath
Lnet/minecraft/data/report/DynamicRegistriesProvider;writeToPath(Ljava/nio/file/Path;Lnet/minecraft/data/DataWriter;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Encoder;Ljava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
-
getName
- Specified by:
getName
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector official a
Lji;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;
-