Package net.minecraft.data.report
Class ItemListProvider
java.lang.Object
net.minecraft.data.report.ItemListProvider
- All Implemented Interfaces:
DataProvider
- Mappings:
Namespace Name named net/minecraft/data/report/ItemListProvider
intermediary net/minecraft/class_9338
official mo
-
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
private final CompletableFuture
<RegistryWrapper.WrapperLookup> Fields inherited from interface net.minecraft.data.DataProvider
JSON_KEY_SORT_ORDER, JSON_KEY_SORTING_COMPARATOR, LOGGER
-
Constructor Summary
ConstructorDescriptionItemListProvider
(DataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture) -
Method Summary
Modifier and TypeMethodDescriptionfinal String
getName()
run
(DataWriter writer) private static <T> JsonElement
toJson
(Component<T> component, com.mojang.serialization.DynamicOps<JsonElement> ops)
-
Field Details
-
output
- Mappings:
Namespace Name Mixin selector named output
Lnet/minecraft/data/report/ItemListProvider;output:Lnet/minecraft/data/DataOutput;
intermediary field_49661
Lnet/minecraft/class_9338;field_49661:Lnet/minecraft/class_7784;
official d
Lmo;d:Lly;
-
registryLookupFuture
- Mappings:
Namespace Name Mixin selector named registryLookupFuture
Lnet/minecraft/data/report/ItemListProvider;registryLookupFuture:Ljava/util/concurrent/CompletableFuture;
intermediary field_49662
Lnet/minecraft/class_9338;field_49662:Ljava/util/concurrent/CompletableFuture;
official e
Lmo;e:Ljava/util/concurrent/CompletableFuture;
-
-
Constructor Details
-
ItemListProvider
public ItemListProvider(DataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/data/report/ItemListProvider;<init>(Lnet/minecraft/data/DataOutput;Ljava/util/concurrent/CompletableFuture;)V
intermediary <init>
Lnet/minecraft/class_9338;<init>(Lnet/minecraft/class_7784;Ljava/util/concurrent/CompletableFuture;)V
official <init>
Lmo;<init>(Lly;Ljava/util/concurrent/CompletableFuture;)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;
-
toJson
private static <T> JsonElement toJson(Component<T> component, com.mojang.serialization.DynamicOps<JsonElement> ops) - Mappings:
Namespace Name Mixin selector named toJson
Lnet/minecraft/data/report/ItemListProvider;toJson(Lnet/minecraft/component/Component;Lcom/mojang/serialization/DynamicOps;)Lcom/google/gson/JsonElement;
intermediary method_57958
Lnet/minecraft/class_9338;method_57958(Lnet/minecraft/class_9336;Lcom/mojang/serialization/DynamicOps;)Lcom/google/gson/JsonElement;
official a
Lmo;a(Lko;Lcom/mojang/serialization/DynamicOps;)Lcom/google/gson/JsonElement;
-
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;
-