| 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 |
SNBTIO.readFile(File file)
Reads the stringified 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 |
SNBTIO.readFile(String path)
Reads stringified root CompoundTag from the given file.
|
static CompoundTag |
NBTIO.readFile(String path,
boolean compressed,
boolean littleEndian)
Reads the root CompoundTag from the given file.
|
| 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 |
SNBTIO.writeFile(CompoundTag tag,
File file)
Writes the given root CompoundTag to the given file as stringified NBT.
|
static void |
SNBTIO.writeFile(CompoundTag tag,
File file,
boolean linebreak)
Writes the given root CompoundTag to the given file as stringified NBT.
|
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 |
SNBTIO.writeFile(CompoundTag tag,
String path)
Writes the given root CompoundTag to the given file as stringified NBT.
|
static void |
SNBTIO.writeFile(CompoundTag tag,
String path,
boolean linebreak)
Writes the given root CompoundTag to the given file as stringified NBT.
|
static void |
NBTIO.writeFile(CompoundTag tag,
String path,
boolean compressed,
boolean littleEndian)
Writes the given root CompoundTag to the given file.
|
| Modifier and Type | Method and Description |
|---|---|
CompoundTag |
CompoundTagConverter.convert(String name,
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.