Class NbtComponentSerializer
java.lang.Object
org.geysermc.mcprotocollib.protocol.codec.NbtComponentSerializer
Taken from ViaVersion's ComponentConverter
-
Method Summary
Modifier and TypeMethodDescriptionstatic UUIDfromIntArray(int[] parts) static @Nullable ObjectjsonComponentToTag(@Nullable com.google.gson.JsonElement component) static @Nullable UUIDstatic com.google.gson.JsonElementtagComponentToJson(@Nullable Object tag) static int[]toIntArray(long msb, long lsb) static int[]toIntArray(UUID uuid)
-
Method Details
-
tagComponentToJson
@Contract("null -> null") public static com.google.gson.JsonElement tagComponentToJson(@Nullable Object tag) -
jsonComponentToTag
-
fromIntArray
-
toIntArray
-
toIntArray
public static int[] toIntArray(long msb, long lsb) -
parseUUID
-