Package com.loohp.limbo.utils
Class NbtComponentSerializer
java.lang.Object
com.loohp.limbo.utils.NbtComponentSerializer
Taken from MCProtocolLib's NbtComponentSerializer
-
Method Summary
Modifier and TypeMethodDescriptionstatic UUID
fromIntArray
(int[] parts) static net.querz.nbt.tag.Tag<?>
jsonComponentToTag
(com.google.gson.JsonElement component) static UUID
static com.google.gson.JsonElement
tagComponentToJson
(net.querz.nbt.tag.Tag<?> tag) static int[]
toIntArray
(long msb, long lsb) static int[]
toIntArray
(UUID uuid)
-
Method Details
-
tagComponentToJson
public static com.google.gson.JsonElement tagComponentToJson(net.querz.nbt.tag.Tag<?> tag) -
jsonComponentToTag
public static net.querz.nbt.tag.Tag<?> jsonComponentToTag(com.google.gson.JsonElement component) -
fromIntArray
-
toIntArray
-
toIntArray
public static int[] toIntArray(long msb, long lsb) -
parseUUID
-