Package net.minecraft.data
Class DataGenerator
java.lang.Object
net.minecraft.data.DataGenerator
- Mappings:
Namespace Name official iy
intermediary net/minecraft/class_2403
named net/minecraft/data/DataGenerator
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final GameVersion
private final boolean
private final Collection<Path>
private static final org.slf4j.Logger
private final Path
private final List<DataProvider>
private final List<DataProvider>
-
Constructor Summary
ConstructorDescriptionDataGenerator
(Path output, Collection<Path> inputs, GameVersion gameVersion, boolean ignoreCache) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addProvider
(boolean shouldRun, DataProvider provider) createPathResolver
(DataGenerator.OutputType outputType, String directoryName) resolveRootDirectoryPath
(DataGenerator.OutputType outputType) void
run()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official a
Liy;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;
-
inputs
- Mappings:
Namespace Name Mixin selector official b
Liy;b:Ljava/util/Collection;
intermediary field_11272
Lnet/minecraft/class_2403;field_11272:Ljava/util/Collection;
named inputs
Lnet/minecraft/data/DataGenerator;inputs:Ljava/util/Collection;
-
output
- Mappings:
Namespace Name Mixin selector official c
Liy;c:Ljava/nio/file/Path;
intermediary field_11274
Lnet/minecraft/class_2403;field_11274:Ljava/nio/file/Path;
named output
Lnet/minecraft/data/DataGenerator;output:Ljava/nio/file/Path;
-
providers
- Mappings:
Namespace Name Mixin selector official d
Liy;d:Ljava/util/List;
intermediary field_11273
Lnet/minecraft/class_2403;field_11273:Ljava/util/List;
named providers
Lnet/minecraft/data/DataGenerator;providers:Ljava/util/List;
-
runningProviders
- Mappings:
Namespace Name Mixin selector official e
Liy;e:Ljava/util/List;
intermediary field_38909
Lnet/minecraft/class_2403;field_38909:Ljava/util/List;
named runningProviders
Lnet/minecraft/data/DataGenerator;runningProviders:Ljava/util/List;
-
gameVersion
- Mappings:
Namespace Name Mixin selector official f
Liy;f:Lae;
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
Liy;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 output, Collection<Path> inputs, GameVersion gameVersion, boolean ignoreCache) - Mappings:
Namespace Name Mixin selector official <init>
Liy;<init>(Ljava/nio/file/Path;Ljava/util/Collection;Lae;Z)V
intermediary <init>
Lnet/minecraft/class_2403;<init>(Ljava/nio/file/Path;Ljava/util/Collection;Lnet/minecraft/class_6489;Z)V
named <init>
Lnet/minecraft/data/DataGenerator;<init>(Ljava/nio/file/Path;Ljava/util/Collection;Lnet/minecraft/GameVersion;Z)V
-
-
Method Details
-
getInputs
- Mappings:
Namespace Name Mixin selector official a
Liy;a()Ljava/util/Collection;
intermediary method_10312
Lnet/minecraft/class_2403;method_10312()Ljava/util/Collection;
named getInputs
Lnet/minecraft/data/DataGenerator;getInputs()Ljava/util/Collection;
-
getOutput
- Mappings:
Namespace Name Mixin selector official b
Liy;b()Ljava/nio/file/Path;
intermediary method_10313
Lnet/minecraft/class_2403;method_10313()Ljava/nio/file/Path;
named getOutput
Lnet/minecraft/data/DataGenerator;getOutput()Ljava/nio/file/Path;
-
resolveRootDirectoryPath
- Mappings:
Namespace Name Mixin selector official a
Liy;a(Liy$b;)Ljava/nio/file/Path;
intermediary method_44105
Lnet/minecraft/class_2403;method_44105(Lnet/minecraft/class_2403$class_7490;)Ljava/nio/file/Path;
named resolveRootDirectoryPath
Lnet/minecraft/data/DataGenerator;resolveRootDirectoryPath(Lnet/minecraft/data/DataGenerator$OutputType;)Ljava/nio/file/Path;
-
run
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official c
Liy;c()V
intermediary method_10315
Lnet/minecraft/class_2403;method_10315()V
named run
Lnet/minecraft/data/DataGenerator;run()V
-
addProvider
- Mappings:
Namespace Name Mixin selector official a
Liy;a(ZLiz;)V
intermediary method_10314
Lnet/minecraft/class_2403;method_10314(ZLnet/minecraft/class_2405;)V
named addProvider
Lnet/minecraft/data/DataGenerator;addProvider(ZLnet/minecraft/data/DataProvider;)V
-
createPathResolver
public DataGenerator.PathResolver createPathResolver(DataGenerator.OutputType outputType, String directoryName) - Mappings:
Namespace Name Mixin selector official a
Liy;a(Liy$b;Ljava/lang/String;)Liy$a;
intermediary method_44106
Lnet/minecraft/class_2403;method_44106(Lnet/minecraft/class_2403$class_7490;Ljava/lang/String;)Lnet/minecraft/class_2403$class_7489;
named createPathResolver
Lnet/minecraft/data/DataGenerator;createPathResolver(Lnet/minecraft/data/DataGenerator$OutputType;Ljava/lang/String;)Lnet/minecraft/data/DataGenerator$PathResolver;
-