Class MojangUtils

java.lang.Object
net.minestom.server.utils.mojang.MojangUtils

public final class MojangUtils extends Object
Utils class using mojang API.
  • Constructor Details

    • MojangUtils

      public MojangUtils()
  • Method Details

    • fromUuid

      @Blocking @Nullable public static @Nullable com.google.gson.JsonObject fromUuid(@NotNull @NotNull String uuid)
    • fromUsername

      @Blocking @Nullable public static @Nullable com.google.gson.JsonObject fromUsername(@NotNull @NotNull String username)