Class RegistryDumpProvider

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

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

    • output

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

    • RegistryDumpProvider

      public RegistryDumpProvider(DataOutput output)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/data/report/RegistryDumpProvider;<init>(Lnet/minecraft/data/DataOutput;)V
      intermediary <init> Lnet/minecraft/class_2427;<init>(Lnet/minecraft/class_7784;)V
      official <init> Lmp;<init>(Lly;)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(Registry<T> registry)
      Mappings:
      Namespace Name Mixin selector
      named toJson Lnet/minecraft/data/report/RegistryDumpProvider;toJson(Lnet/minecraft/registry/Registry;)Lcom/google/gson/JsonElement;
      intermediary method_17175 Lnet/minecraft/class_2427;method_17175(Lnet/minecraft/class_2378;)Lcom/google/gson/JsonElement;
      official a Lmp;a(Ljv;)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;