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 UUIDfromIntArray(int[] parts) static net.querz.nbt.tag.Tag<?>jsonComponentToTag(com.google.gson.JsonElement component) static UUIDstatic com.google.gson.JsonElementtagComponentToJson(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
-