Package net.minecraft.data
Class NBTToSNBTConverter
- java.lang.Object
-
- net.minecraft.data.NBTToSNBTConverter
-
- All Implemented Interfaces:
IDataProvider
public class NBTToSNBTConverter extends java.lang.Object implements IDataProvider
-
-
Field Summary
Fields Modifier and Type Field Description private DataGenerator
generator
private static org.apache.logging.log4j.Logger
LOGGER
-
Fields inherited from interface net.minecraft.data.IDataProvider
SHA1
-
-
Constructor Summary
Constructors Constructor Description NBTToSNBTConverter(DataGenerator p_i48258_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.nio.file.Path
convertStructure(java.nio.file.Path p_229443_0_, java.lang.String p_229443_1_, java.nio.file.Path p_229443_2_)
java.lang.String
getName()
private java.lang.String
getName(java.nio.file.Path p_200417_1_, java.nio.file.Path p_200417_2_)
void
run(DirectoryCache p_200398_1_)
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
generator
private final DataGenerator generator
-
-
Constructor Detail
-
NBTToSNBTConverter
public NBTToSNBTConverter(DataGenerator p_i48258_1_)
-
-
Method Detail
-
run
public void run(DirectoryCache p_200398_1_) throws java.io.IOException
- Specified by:
run
in interfaceIDataProvider
- Throws:
java.io.IOException
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceIDataProvider
-
getName
private java.lang.String getName(java.nio.file.Path p_200417_1_, java.nio.file.Path p_200417_2_)
-
convertStructure
@Nullable public static java.nio.file.Path convertStructure(java.nio.file.Path p_229443_0_, java.lang.String p_229443_1_, java.nio.file.Path p_229443_2_)
-
-