public final class NbtType<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NbtType.Enum |
| Modifier and Type | Field and Description |
|---|---|
static NbtType<Byte> |
BYTE |
static NbtType<byte[]> |
BYTE_ARRAY |
static NbtType<NbtMap> |
COMPOUND |
static NbtType<Double> |
DOUBLE |
static NbtType<Void> |
END |
static NbtType<Float> |
FLOAT |
static NbtType<Integer> |
INT |
static NbtType<int[]> |
INT_ARRAY |
static NbtType<NbtList> |
LIST |
static NbtType<Long> |
LONG |
static NbtType<long[]> |
LONG_ARRAY |
static NbtType<Short> |
SHORT |
static NbtType<String> |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static <T> NbtType<T> |
byClass(Class<T> tagClass) |
static NbtType<?> |
byId(int id) |
NbtType.Enum |
getEnum() |
int |
getId() |
Class<T> |
getTagClass() |
String |
getTypeName() |
Copyright © 2020. All rights reserved.