Companion

object Companion

Functions

Link copied to clipboard
@Contract(value = "_, _ -> new", pure = true)
fun of(name: String, uuid: UUID): GameProfile

Creates a new game profile with the given name and uuid.

@Contract(value = "_, _, _ -> new", pure = true)
fun of(name: String, uuid: UUID, properties: List<ProfileProperty>): GameProfile

Creates a new game profile with the given name, uuid, and list of profile properties.