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 jl
intermediary net/minecraft/class_2427
named net/minecraft/data/report/RegistryDumpProvider
  • Field Details

    • generator

      private final DataGenerator generator
      Mappings:
      Namespace Name Mixin selector
      official c Ljl;c:Liy;
      intermediary field_11323 Lnet/minecraft/class_2427;field_11323:Lnet/minecraft/class_2403;
      named generator Lnet/minecraft/data/report/RegistryDumpProvider;generator:Lnet/minecraft/data/DataGenerator;
  • Constructor Details

    • RegistryDumpProvider

      public RegistryDumpProvider(DataGenerator generator)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljl;<init>(Liy;)V
      intermediary <init> Lnet/minecraft/class_2427;<init>(Lnet/minecraft/class_2403;)V
      named <init> Lnet/minecraft/data/report/RegistryDumpProvider;<init>(Lnet/minecraft/data/DataGenerator;)V
  • Method Details

    • run

      public void run(DataWriter writer) throws IOException
      Specified by:
      run in interface DataProvider
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Liz;a(Lix;)V
      intermediary method_10319 Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)V
      named run Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)V
    • toJson

      private static <T> JsonElement toJson(Registry<T> registry)
      Mappings:
      Namespace Name Mixin selector
      official a Ljl;a(Lhm;)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/util/registry/Registry;)Lcom/google/gson/JsonElement;
    • getName

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