Class WorldgenProvider

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

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

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lix;b:Lorg/slf4j/Logger;
      intermediary field_26377 Lnet/minecraft/class_5475;field_26377:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/data/report/WorldgenProvider;LOGGER:Lorg/slf4j/Logger;
    • GSON

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

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

    • WorldgenProvider

      public WorldgenProvider(DataGenerator generator)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lix;<init>(Lik;)V
      intermediary <init> Lnet/minecraft/class_5475;<init>(Lnet/minecraft/class_2403;)V
      named <init> Lnet/minecraft/data/report/WorldgenProvider;<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 Lil;a(Lim;)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 Lix;a(Lim;Ljava/nio/file/Path;Lhc;Lcom/mojang/serialization/DynamicOps;Lhc$c;)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/WorldgenProvider;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 Lix;a(Ljava/nio/file/Path;Lim;Lcom/mojang/serialization/DynamicOps;Lys;Lhb;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/WorldgenProvider;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 Lix;a(Ljava/nio/file/Path;Lim;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/WorldgenProvider;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 Lix;a(Ljava/nio/file/Path;Lyt;Lyt;)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/WorldgenProvider;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 Lix;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/WorldgenProvider;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 Lil;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;