Class DataGenerator

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

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

    • LOGGER

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

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

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

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

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

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

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

    • DataGenerator

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

    • run

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

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

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