public class NbtIo extends Object
| Constructor and Description |
|---|
NbtIo() |
| Modifier and Type | Method and Description |
|---|---|
static CompoundTag |
method_30613(File file) |
static void |
method_30614(CompoundTag compoundTag,
File file) |
static CompoundTag |
read(DataInput dataInput) |
private static Tag |
read(DataInput input,
int depth,
PositionTracker tracker) |
static CompoundTag |
read(DataInput input,
PositionTracker tracker) |
static CompoundTag |
read(File file) |
static CompoundTag |
readCompressed(InputStream stream) |
static void |
write(CompoundTag tag,
DataOutput output) |
static void |
write(CompoundTag tag,
File file) |
private static void |
write(Tag tag,
DataOutput output) |
static void |
writeCompressed(CompoundTag tag,
OutputStream stream) |
public static CompoundTag method_30613(File file) throws IOException
IOExceptionpublic static CompoundTag readCompressed(InputStream stream) throws IOException
IOExceptionpublic static void method_30614(CompoundTag compoundTag, File file) throws IOException
IOExceptionpublic static void writeCompressed(CompoundTag tag, OutputStream stream) throws IOException
IOException@Environment(value=CLIENT) public static void write(CompoundTag tag, File file) throws IOException
IOException@Environment(value=CLIENT) @Nullable public static CompoundTag read(File file) throws IOException
IOExceptionpublic static CompoundTag read(DataInput dataInput) throws IOException
IOExceptionpublic static CompoundTag read(DataInput input, PositionTracker tracker) throws IOException
IOExceptionpublic static void write(CompoundTag tag, DataOutput output) throws IOException
IOExceptionprivate static void write(Tag tag, DataOutput output) throws IOException
IOExceptionprivate static Tag read(DataInput input, int depth, PositionTracker tracker) throws IOException
IOException