withProperties

@Contract(value = "_ -> new", pure = true)
abstract fun withProperties(properties: Iterable<ProfileProperty>): GameProfile

Creates a new game profile with the given properties.

Return

a new game profile

Parameters

properties

the new properties