of

@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.

Return

a new profile

Parameters

name

the name of the profile

uuid

the UUID of the profile

properties

the list of profile properties


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

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

Return

a new profile

Parameters

name

the name of the profile

uuid

the UUID of the profile