Package net.minecraft.data
Class SNBTToNBTConverter
java.lang.Object
net.minecraft.data.SNBTToNBTConverter
- All Implemented Interfaces:
IDataProvider
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Path
private final List<SNBTToNBTConverter.ITransformer>
private final DataGenerator
private static final org.apache.logging.log4j.Logger
Fields inherited from interface net.minecraft.data.IDataProvider
SHA1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddFilter
(SNBTToNBTConverter.ITransformer p_225369_1_) private CompoundNBT
applyFilters
(String p_225368_1_, CompoundNBT p_225368_2_) getName()
private String
private SNBTToNBTConverter.TaskResult
readStructure
(Path p_229446_1_, String p_229446_2_) void
run
(DirectoryCache p_200398_1_) private void
storeStructureIfChanged
(DirectoryCache p_229444_1_, SNBTToNBTConverter.TaskResult p_229444_2_, Path p_229444_3_)
-
Field Details
-
dumpSnbtTo
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
generator
-
filters
-
-
Constructor Details
-
SNBTToNBTConverter
-
-
Method Details
-
addFilter
-
applyFilters
-
run
- Specified by:
run
in interfaceIDataProvider
- Throws:
IOException
-
getName
- Specified by:
getName
in interfaceIDataProvider
-
getName
-
readStructure
-
storeStructureIfChanged
private void storeStructureIfChanged(DirectoryCache p_229444_1_, SNBTToNBTConverter.TaskResult p_229444_2_, Path p_229444_3_)
-