Class BedrockRealmData

java.lang.Object
com.viaversion.viafabricplus.bedrock.features.realms.BedrockRealmData

public final class BedrockRealmData extends Object
Decodes the modern saves response used by Bedrock 1.26.51.
  • Method Details

    • text

      public static String text(com.google.gson.JsonObject object, String key)
    • bool

      public static boolean bool(com.google.gson.JsonObject object, String key)
    • number

      public static long number(com.google.gson.JsonObject object, String key)
    • object

      public static com.google.gson.JsonObject object(com.google.gson.JsonObject object, String key)
    • array

      public static com.google.gson.JsonArray array(com.google.gson.JsonObject object, String key)
    • result

      public static com.google.gson.JsonObject result(com.google.gson.JsonObject response)
    • saves

      public static BedrockRealmData.Saves saves(com.google.gson.JsonObject response)
    • size

      public static String size(long bytes)