Class NbtComponentSerializer

java.lang.Object
com.github.steveice10.mc.protocol.codec.NbtComponentSerializer

public class NbtComponentSerializer extends Object
  • Method Details

    • tagComponentToJson

      @Contract("null -> null") public static com.google.gson.JsonElement tagComponentToJson(@Nullable @Nullable com.github.steveice10.opennbt.tag.builtin.Tag tag)
    • jsonComponentToTag

      @Nullable public static @Nullable com.github.steveice10.opennbt.tag.builtin.Tag jsonComponentToTag(@Nullable @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

      @Nullable public static @Nullable UUID parseUUID(String uuidString)