Class WorldgenListProvider

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

public class WorldgenListProvider extends Object implements DataProvider
Mappings:
Namespace Name
official is
intermediary net/minecraft/class_5475
named net/minecraft/data/report/WorldgenListProvider
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lis;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_26377 Lnet/minecraft/class_5475;field_26377:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/data/report/WorldgenListProvider;LOGGER:Lorg/apache/logging/log4j/Logger;
    • GSON

      private static final Gson GSON
      Mappings:
      Namespace Name Mixin selector
      official c Lis;c:Lcom/google/gson/Gson;
      intermediary field_26378 Lnet/minecraft/class_5475;field_26378:Lcom/google/gson/Gson;
      named GSON Lnet/minecraft/data/report/WorldgenListProvider;GSON:Lcom/google/gson/Gson;
    • generator

      private final DataGenerator generator
      Mappings:
      Namespace Name Mixin selector
      official d Lis;d:Lie;
      intermediary field_26379 Lnet/minecraft/class_5475;field_26379:Lnet/minecraft/class_2403;
      named generator Lnet/minecraft/data/report/WorldgenListProvider;generator:Lnet/minecraft/data/DataGenerator;
  • Constructor Details

    • WorldgenListProvider

      public WorldgenListProvider(DataGenerator generator)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lis;<init>(Lie;)V
      intermediary <init> Lnet/minecraft/class_5475;<init>(Lnet/minecraft/class_2403;)V
      named <init> Lnet/minecraft/data/report/WorldgenListProvider;<init>(Lnet/minecraft/data/DataGenerator;)V
  • Method Details

    • run

      public void run(DataCache cache)
      Specified by:
      run in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lig;a(Lih;)V
      intermediary method_10319 Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_2408;)V
      named run Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataCache;)V
    • writeRegistryEntries

      private static <T> void writeRegistryEntries(DataCache cache, Path path, DynamicRegistryManager registryManager, com.mojang.serialization.DynamicOps<JsonElement> json, DynamicRegistryManager.Info<T> info)
      Mappings:
      Namespace Name Mixin selector
      official a Lis;a(Lih;Ljava/nio/file/Path;Lgy;Lcom/mojang/serialization/DynamicOps;Lgy$a;)V
      intermediary method_39678 Lnet/minecraft/class_5475;method_39678(Lnet/minecraft/class_2408;Ljava/nio/file/Path;Lnet/minecraft/class_5455;Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/class_5455$class_5456;)V
      named writeRegistryEntries Lnet/minecraft/data/report/WorldgenListProvider;writeRegistryEntries(Lnet/minecraft/data/DataCache;Ljava/nio/file/Path;Lnet/minecraft/util/registry/DynamicRegistryManager;Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/util/registry/DynamicRegistryManager$Info;)V
    • writeRegistryEntries

      private static <E, T extends Registry<E>> void writeRegistryEntries(Path path, DataCache cache, com.mojang.serialization.DynamicOps<JsonElement> json, RegistryKey<? extends T> registryKey, T registry, com.mojang.serialization.Encoder<E> encoder)
      Mappings:
      Namespace Name Mixin selector
      official a Lis;a(Ljava/nio/file/Path;Lih;Lcom/mojang/serialization/DynamicOps;Lyg;Lgx;Lcom/mojang/serialization/Encoder;)V
      intermediary method_39681 Lnet/minecraft/class_5475;method_39681(Ljava/nio/file/Path;Lnet/minecraft/class_2408;Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/class_5321;Lnet/minecraft/class_2378;Lcom/mojang/serialization/Encoder;)V
      named writeRegistryEntries Lnet/minecraft/data/report/WorldgenListProvider;writeRegistryEntries(Ljava/nio/file/Path;Lnet/minecraft/data/DataCache;Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/util/registry/Registry;Lcom/mojang/serialization/Encoder;)V
    • writeToPath

      private static <E> void writeToPath(Path path, DataCache cache, com.mojang.serialization.DynamicOps<JsonElement> json, com.mojang.serialization.Encoder<E> encoder, E value)
      Mappings:
      Namespace Name Mixin selector
      official a Lis;a(Ljava/nio/file/Path;Lih;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Encoder;Ljava/lang/Object;)V
      intermediary method_39680 Lnet/minecraft/class_5475;method_39680(Ljava/nio/file/Path;Lnet/minecraft/class_2408;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Encoder;Ljava/lang/Object;)V
      named writeToPath Lnet/minecraft/data/report/WorldgenListProvider;writeToPath(Ljava/nio/file/Path;Lnet/minecraft/data/DataCache;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Encoder;Ljava/lang/Object;)V
    • getPath

      private static Path getPath(Path root, Identifier rootId, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lis;a(Ljava/nio/file/Path;Lyh;Lyh;)Ljava/nio/file/Path;
      intermediary method_30682 Lnet/minecraft/class_5475;method_30682(Ljava/nio/file/Path;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;)Ljava/nio/file/Path;
      named getPath Lnet/minecraft/data/report/WorldgenListProvider;getPath(Ljava/nio/file/Path;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;)Ljava/nio/file/Path;
    • getRootPath

      private static Path getRootPath(Path path)
      Mappings:
      Namespace Name Mixin selector
      official a Lis;a(Ljava/nio/file/Path;)Ljava/nio/file/Path;
      intermediary method_39679 Lnet/minecraft/class_5475;method_39679(Ljava/nio/file/Path;)Ljava/nio/file/Path;
      named getRootPath Lnet/minecraft/data/report/WorldgenListProvider;getRootPath(Ljava/nio/file/Path;)Ljava/nio/file/Path;
    • getName

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