Package net.minecraft.data.structures
Class NbtToSnbt
java.lang.Object
net.minecraft.data.structures.NbtToSnbt
- All Implemented Interfaces:
DataProvider
-
Field Summary
Modifier and TypeFieldDescriptionprivate 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 TypeMethodDescriptionstatic Path
convertStructure
(CachedOutput p_236382_, Path p_236383_, String p_236384_, Path p_236385_) getName()
private String
void
run
(CachedOutput p_236376_) static void
writeSnbt
(CachedOutput p_236378_, Path p_236379_, String p_236380_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
generator
-
-
Constructor Details
-
NbtToSnbt
-
-
Method Details
-
run
- Specified by:
run
in interfaceDataProvider
- Throws:
IOException
-
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
-