| Package | Description |
|---|---|
| com.github.steveice10.opennbt | |
| com.github.steveice10.opennbt.conversion.builtin | |
| com.github.steveice10.opennbt.tag.builtin |
| Modifier and Type | Method and Description |
|---|---|
static CompoundTag |
NBTIO.readFile(File file)
Reads the compressed, big endian root CompoundTag from the given file.
|
static CompoundTag |
NBTIO.readFile(File file,
boolean compressed,
boolean littleEndian)
Reads the root CompoundTag from the given file.
|
static CompoundTag |
NBTIO.readFile(String path)
Reads the compressed, big endian root CompoundTag from the given file.
|
static CompoundTag |
NBTIO.readFile(String path,
boolean compressed,
boolean littleEndian)
Reads the root CompoundTag from the given file.
|
static CompoundTag |
NBTIO.readTag(DataInput in)
Reads an NBT tag.
|
static CompoundTag |
NBTIO.readTag(InputStream in)
Reads a big endian NBT tag.
|
static CompoundTag |
NBTIO.readTag(InputStream in,
boolean littleEndian)
Reads an NBT tag.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
NBTIO.writeFile(CompoundTag tag,
File file)
Writes the given root CompoundTag to the given file, compressed and in big endian.
|
static void |
NBTIO.writeFile(CompoundTag tag,
File file,
boolean compressed,
boolean littleEndian)
Writes the given root CompoundTag to the given file.
|
static void |
NBTIO.writeFile(CompoundTag tag,
String path)
Writes the given root CompoundTag to the given file, compressed and in big endian.
|
static void |
NBTIO.writeFile(CompoundTag tag,
String path,
boolean compressed,
boolean littleEndian)
Writes the given root CompoundTag to the given file.
|
static void |
NBTIO.writeTag(DataOutput out,
CompoundTag tag)
Writes an NBT tag.
|
static void |
NBTIO.writeTag(OutputStream out,
CompoundTag tag)
Writes an NBT tag in big endian.
|
static void |
NBTIO.writeTag(OutputStream out,
CompoundTag tag,
boolean littleEndian)
Writes an NBT tag.
|
| Modifier and Type | Method and Description |
|---|---|
CompoundTag |
CompoundTagConverter.convert(Map value) |
| Modifier and Type | Method and Description |
|---|---|
Map |
CompoundTagConverter.convert(CompoundTag tag) |
| Modifier and Type | Method and Description |
|---|---|
CompoundTag |
CompoundTag.clone() |
Copyright © 2021. All rights reserved.