Class WorldgenRegistryDumpReport

java.lang.Object
net.minecraft.data.info.WorldgenRegistryDumpReport
All Implemented Interfaces:
DataProvider

public class WorldgenRegistryDumpReport extends Object implements DataProvider
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • GSON

      private static final com.google.gson.Gson GSON
    • generator

      private final DataGenerator generator
  • Constructor Details

    • WorldgenRegistryDumpReport

      public WorldgenRegistryDumpReport(DataGenerator p_194679_)
  • Method Details

    • run

      public void run(HashCache p_194682_)
      Specified by:
      run in interface DataProvider
    • dumpRegistryCap

      private static <T> void dumpRegistryCap(HashCache p_194684_, Path p_194685_, RegistryAccess p_194686_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_194687_, RegistryAccess.RegistryData<T> p_194688_)
    • dumpRegistry

      private static <E, T extends Registry<E>> void dumpRegistry(Path p_194698_, HashCache p_194699_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_194700_, ResourceKey<? extends T> p_194701_, T p_194702_, com.mojang.serialization.Encoder<E> p_194703_)
    • dumpValue

      private static <E> void dumpValue(Path p_194692_, HashCache p_194693_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_194694_, com.mojang.serialization.Encoder<E> p_194695_, E p_194696_)
    • createPath

      private static Path createPath(Path p_194705_, ResourceLocation p_194706_, ResourceLocation p_194707_)
    • resolveTopPath

      private static Path resolveTopPath(Path p_194690_)
    • getName

      public String getName()
      Specified by:
      getName in interface DataProvider