Package net.minecraft.data.structures
Class SnbtToNbt
java.lang.Object
net.minecraft.data.structures.SnbtToNbt
- All Implemented Interfaces:
DataProvider
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
(package private) static class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Path
private final List<SnbtToNbt.Filter>
private final DataGenerator
private static final org.slf4j.Logger
Fields inherited from interface net.minecraft.data.DataProvider
SHA1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddFilter
(SnbtToNbt.Filter p_126476_) private CompoundTag
applyFilters
(String p_126461_, CompoundTag p_126462_) getName()
private String
private SnbtToNbt.TaskResult
readStructure
(Path p_126466_, String p_126467_) void
private void
storeStructureIfChanged
(HashCache p_126457_, SnbtToNbt.TaskResult p_126458_, Path p_126459_)
-
Field Details
-
DUMP_SNBT_TO
-
LOGGER
private static final org.slf4j.Logger LOGGER -
generator
-
filters
-
-
Constructor Details
-
SnbtToNbt
-
-
Method Details
-
addFilter
-
applyFilters
-
run
- Specified by:
run
in interfaceDataProvider
- Throws:
IOException
-
getName
- Specified by:
getName
in interfaceDataProvider
-
getName
-
readStructure
-
storeStructureIfChanged
private void storeStructureIfChanged(HashCache p_126457_, SnbtToNbt.TaskResult p_126458_, Path p_126459_)
-