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 jm
intermediary net/minecraft/class_5475
named net/minecraft/data/report/WorldgenProvider
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official c Ljm;c: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;
    • generator

      private final DataGenerator generator
      Mappings:
      Namespace Name Mixin selector
      official d Ljm;d:Liy;
      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> Ljm;<init>(Liy;)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(DataWriter writer)
      Specified by:
      run in interface DataProvider
      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
    • writeRegistryEntries

      private <T> void writeRegistryEntries(DataWriter writer, DynamicRegistryManager registryManager, com.mojang.serialization.DynamicOps<JsonElement> ops, DynamicRegistryManager.Info<T> registry)
      Mappings:
      Namespace Name Mixin selector
      official a Ljm;a(Lix;Lhn;Lcom/mojang/serialization/DynamicOps;Lhn$c;)V
      intermediary method_39678 Lnet/minecraft/class_5475;method_39678(Lnet/minecraft/class_7403;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/DataWriter;Lnet/minecraft/util/registry/DynamicRegistryManager;Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/util/registry/DynamicRegistryManager$Info;)V
    • writeToPath

      private static <E> void writeToPath(Path path, DataWriter cache, com.mojang.serialization.DynamicOps<JsonElement> json, com.mojang.serialization.Encoder<E> encoder, E value)
      Mappings:
      Namespace Name Mixin selector
      official a Ljm;a(Ljava/nio/file/Path;Lix;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_7403;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/DataWriter;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Encoder;Ljava/lang/Object;)V
    • 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;