Class RegistryDumpProvider

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

public class RegistryDumpProvider extends Object implements DataProvider
Mappings:
Namespace Name
official lc
intermediary net/minecraft/class_2427
named net/minecraft/data/report/RegistryDumpProvider
  • Field Details

    • output

      private final DataOutput output
      Mappings:
      Namespace Name Mixin selector
      official d Llc;d:Lkm;
      intermediary field_40601 Lnet/minecraft/class_2427;field_40601:Lnet/minecraft/class_7784;
      named output Lnet/minecraft/data/report/RegistryDumpProvider;output:Lnet/minecraft/data/DataOutput;
  • Constructor Details

    • RegistryDumpProvider

      public RegistryDumpProvider(DataOutput output)
      Mappings:
      Namespace Name Mixin selector
      official <init> Llc;<init>(Lkm;)V
      intermediary <init> Lnet/minecraft/class_2427;<init>(Lnet/minecraft/class_7784;)V
      named <init> Lnet/minecraft/data/report/RegistryDumpProvider;<init>(Lnet/minecraft/data/DataOutput;)V
  • Method Details

    • run

      public CompletableFuture<?> run(DataWriter writer)
      Specified by:
      run in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lkk;a(Lki;)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;
    • toJson

      private static <T> JsonElement toJson(Registry<T> registry)
      Mappings:
      Namespace Name Mixin selector
      official a Llc;a(Lit;)Lcom/google/gson/JsonElement;
      intermediary method_17175 Lnet/minecraft/class_2427;method_17175(Lnet/minecraft/class_2378;)Lcom/google/gson/JsonElement;
      named toJson Lnet/minecraft/data/report/RegistryDumpProvider;toJson(Lnet/minecraft/registry/Registry;)Lcom/google/gson/JsonElement;
    • getName

      public final String getName()
      Specified by:
      getName in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lkk;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;