Package net.minecraft.data.structures
Class NbtToSnbt
java.lang.Object
net.minecraft.data.structures.NbtToSnbt
- All Implemented Interfaces:
DataProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
Fields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Path
convertStructure
(CachedOutput p_236382_, Path p_236383_, String p_236384_, Path p_236385_) final String
getName()
private static String
run
(CachedOutput p_254274_) static void
writeSnbt
(CachedOutput p_236378_, Path p_236379_, String p_236380_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
inputFolders
-
output
-
-
Constructor Details
-
NbtToSnbt
-
-
Method Details
-
run
- Specified by:
run
in interfaceDataProvider
-
getName
- Specified by:
getName
in interfaceDataProvider
-
getName
-
convertStructure
@Nullable public static Path convertStructure(CachedOutput p_236382_, Path p_236383_, String p_236384_, Path p_236385_) -
writeSnbt
public static void writeSnbt(CachedOutput p_236378_, Path p_236379_, String p_236380_) throws IOException - Throws:
IOException
-