Class DataGenerator

java.lang.Object
net.minecraft.data.DataGenerator

public class DataGenerator extends Object
Mappings:
Namespace Name
named net/minecraft/data/DataGenerator
intermediary net/minecraft/class_2403
official lw
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/data/DataGenerator;LOGGER:Lorg/slf4j/Logger;
      intermediary field_11275 Lnet/minecraft/class_2403;field_11275:Lorg/slf4j/Logger;
      official a Llw;a:Lorg/slf4j/Logger;
    • outputPath

      private final Path outputPath
      Mappings:
      Namespace Name Mixin selector
      named outputPath Lnet/minecraft/data/DataGenerator;outputPath:Ljava/nio/file/Path;
      intermediary field_40595 Lnet/minecraft/class_2403;field_40595:Ljava/nio/file/Path;
      official b Llw;b:Ljava/nio/file/Path;
    • output

      private final DataOutput output
      Mappings:
      Namespace Name Mixin selector
      named output Lnet/minecraft/data/DataGenerator;output:Lnet/minecraft/data/DataOutput;
      intermediary field_40596 Lnet/minecraft/class_2403;field_40596:Lnet/minecraft/class_7784;
      official c Llw;c:Llz;
    • providerNames

      final Set<String> providerNames
      Mappings:
      Namespace Name Mixin selector
      named providerNames Lnet/minecraft/data/DataGenerator;providerNames:Ljava/util/Set;
      intermediary field_40826 Lnet/minecraft/class_2403;field_40826:Ljava/util/Set;
      official d Llw;d:Ljava/util/Set;
    • runningProviders

      final Map<String,DataProvider> runningProviders
      Mappings:
      Namespace Name Mixin selector
      named runningProviders Lnet/minecraft/data/DataGenerator;runningProviders:Ljava/util/Map;
      intermediary field_38909 Lnet/minecraft/class_2403;field_38909:Ljava/util/Map;
      official e Llw;e:Ljava/util/Map;
    • gameVersion

      private final GameVersion gameVersion
      Mappings:
      Namespace Name Mixin selector
      named gameVersion Lnet/minecraft/data/DataGenerator;gameVersion:Lnet/minecraft/GameVersion;
      intermediary field_38910 Lnet/minecraft/class_2403;field_38910:Lnet/minecraft/class_6489;
      official f Llw;f:Lad;
    • ignoreCache

      private final boolean ignoreCache
      Mappings:
      Namespace Name Mixin selector
      named ignoreCache Lnet/minecraft/data/DataGenerator;ignoreCache:Z
      intermediary field_38911 Lnet/minecraft/class_2403;field_38911:Z
      official g Llw;g:Z
  • Constructor Details

    • DataGenerator

      public DataGenerator(Path outputPath, GameVersion gameVersion, boolean ignoreCache)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/data/DataGenerator;<init>(Ljava/nio/file/Path;Lnet/minecraft/GameVersion;Z)V
      intermediary <init> Lnet/minecraft/class_2403;<init>(Ljava/nio/file/Path;Lnet/minecraft/class_6489;Z)V
      official <init> Llw;<init>(Ljava/nio/file/Path;Lad;Z)V
  • Method Details

    • run

      public void run() throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named run Lnet/minecraft/data/DataGenerator;run()V
      intermediary method_10315 Lnet/minecraft/class_2403;method_10315()V
      official a Llw;a()V
    • createVanillaPack

      public DataGenerator.Pack createVanillaPack(boolean shouldRun)
      Mappings:
      Namespace Name Mixin selector
      named createVanillaPack Lnet/minecraft/data/DataGenerator;createVanillaPack(Z)Lnet/minecraft/data/DataGenerator$Pack;
      intermediary method_46564 Lnet/minecraft/class_2403;method_46564(Z)Lnet/minecraft/class_2403$class_7856;
      official a Llw;a(Z)Llw$a;
    • createVanillaSubPack

      public DataGenerator.Pack createVanillaSubPack(boolean shouldRun, String packName)
      Mappings:
      Namespace Name Mixin selector
      named createVanillaSubPack Lnet/minecraft/data/DataGenerator;createVanillaSubPack(ZLjava/lang/String;)Lnet/minecraft/data/DataGenerator$Pack;
      intermediary method_46565 Lnet/minecraft/class_2403;method_46565(ZLjava/lang/String;)Lnet/minecraft/class_2403$class_7856;
      official a Llw;a(ZLjava/lang/String;)Llw$a;