Class ItemListProvider

java.lang.Object
net.minecraft.data.report.ItemListProvider
All Implemented Interfaces:
DataProvider

public class ItemListProvider extends Object implements DataProvider
Mappings:
Namespace Name
named net/minecraft/data/report/ItemListProvider
intermediary net/minecraft/class_9338
official mo
  • Field Details

    • output

      private final DataOutput 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

      private final CompletableFuture<RegistryWrapper.WrapperLookup> 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

      public CompletableFuture<?> run(DataWriter writer)
      Specified by:
      run in interface DataProvider
      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

      public final String getName()
      Specified by:
      getName in interface DataProvider
      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;