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 final record
-
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
FIXED_ORDER_FIELDS, KEY_COMPARATOR
-
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
run
(CachedOutput p_236392_) private void
storeStructureIfChanged
(CachedOutput p_236394_, SnbtToNbt.TaskResult p_236395_, Path p_236396_)
-
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(CachedOutput p_236394_, SnbtToNbt.TaskResult p_236395_, Path p_236396_)
-