Class NbtComponentSerializer

java.lang.Object
org.geysermc.mcprotocollib.protocol.codec.NbtComponentSerializer

public class NbtComponentSerializer extends Object
  • Method Details

    • tagComponentToJson

      @Contract("null -> null") public static com.google.gson.JsonElement tagComponentToJson(@Nullable Object tag)
    • jsonComponentToTag

      public static @Nullable Object jsonComponentToTag(@Nullable com.google.gson.JsonElement component)
    • fromIntArray

      public static UUID fromIntArray(int[] parts)
    • toIntArray

      public static int[] toIntArray(UUID uuid)
    • toIntArray

      public static int[] toIntArray(long msb, long lsb)
    • parseUUID

      public static @Nullable UUID parseUUID(String uuidString)