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
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<SnbtToNbt.Filter> private static final org.slf4j.Logger
private final PackOutput
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_) final String
getName()
private String
private SnbtToNbt.TaskResult
readStructure
(Path p_126466_, String p_126467_) run
(CachedOutput p_254336_) private void
storeStructureIfChanged
(CachedOutput p_236394_, SnbtToNbt.TaskResult p_236395_, Path p_236396_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
output
-
inputFolders
-
filters
-
-
Constructor Details
-
SnbtToNbt
-
-
Method Details
-
addFilter
-
applyFilters
-
run
- Specified by:
run
in interfaceDataProvider
-
getName
- Specified by:
getName
in interfaceDataProvider
-
getName
-
readStructure
-
storeStructureIfChanged
private void storeStructureIfChanged(CachedOutput p_236394_, SnbtToNbt.TaskResult p_236395_, Path p_236396_)
-