public class NbtRegistry
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static byte |
BYTE_ARRAY_NBT |
static byte |
BYTE_NBT |
static byte |
COMPOUND_NBT |
static byte |
DOUBLE_NBT |
static byte |
END_NBT |
static byte |
FLOAT_NBT |
static byte |
INT_ARRAY_NBT |
static byte |
INT_NBT |
static byte |
LIST_NBT |
static byte |
LONG_ARRAY_NBT |
static byte |
LONG_NBT |
static byte |
SHORT_NBT |
static byte |
STRING_NBT |
| Constructor and Description |
|---|
NbtRegistry() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Class<? extends INbtTag> |
getTagClass(int id) |
static int |
getTagId(java.lang.Class<? extends INbtTag> type) |
static boolean |
isNumber(int id) |
static <T extends INbtTag> |
newInstance(java.lang.Class<?> type) |
static INbtTag |
wrap(java.lang.Object o) |
public static final byte END_NBT
public static final byte BYTE_NBT
public static final byte SHORT_NBT
public static final byte INT_NBT
public static final byte LONG_NBT
public static final byte FLOAT_NBT
public static final byte DOUBLE_NBT
public static final byte BYTE_ARRAY_NBT
public static final byte STRING_NBT
public static final byte LIST_NBT
public static final byte COMPOUND_NBT
public static final byte INT_ARRAY_NBT
public static final byte LONG_ARRAY_NBT
public static int getTagId(java.lang.Class<? extends INbtTag> type)
public static java.lang.Class<? extends INbtTag> getTagClass(int id)
public static boolean isNumber(int id)
public static <T extends INbtTag> T newInstance(java.lang.Class<?> type)
public static INbtTag wrap(java.lang.Object o)