Package net.minecraft.data
Class RegistryDumpReport
- java.lang.Object
-
- net.minecraft.data.RegistryDumpReport
-
- All Implemented Interfaces:
IDataProvider
public class RegistryDumpReport extends java.lang.Object implements IDataProvider
-
-
Field Summary
Fields Modifier and Type Field Description private DataGenerator
generator
private static com.google.gson.Gson
GSON
-
Fields inherited from interface net.minecraft.data.IDataProvider
SHA1
-
-
Constructor Summary
Constructors Constructor Description RegistryDumpReport(DataGenerator p_i50790_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static <T> com.google.gson.JsonElement
dumpRegistry(Registry<T> p_239828_0_)
java.lang.String
getName()
void
run(DirectoryCache p_200398_1_)
-
-
-
Field Detail
-
GSON
private static final com.google.gson.Gson GSON
-
generator
private final DataGenerator generator
-
-
Constructor Detail
-
RegistryDumpReport
public RegistryDumpReport(DataGenerator p_i50790_1_)
-
-
Method Detail
-
run
public void run(DirectoryCache p_200398_1_) throws java.io.IOException
- Specified by:
run
in interfaceIDataProvider
- Throws:
java.io.IOException
-
dumpRegistry
private static <T> com.google.gson.JsonElement dumpRegistry(Registry<T> p_239828_0_)
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceIDataProvider
-
-