mojang.api.structures

class mojang.api.structures.AuthenticatedUserProfile(name, uuid, is_legacy, is_demo, skins, capes)

Bases: NamedTuple

capes: list[Cape]

Alias for field number 5

is_demo: bool

Alias for field number 3

is_legacy: bool

Alias for field number 2

name: str

Alias for field number 0

skins: list[Skin]

Alias for field number 4

uuid: str

Alias for field number 1

class mojang.api.structures.NameChange(allowed, created_at)

Bases: NamedTuple

allowed: bool

Alias for field number 0

created_at: dt.datetime

Alias for field number 1

class mojang.api.structures.ServiceStatus(name, status)

Bases: NamedTuple

name: str

Alias for field number 0

status: str

Alias for field number 1

class mojang.api.structures.UnauthenticatedProfile(name, uuid, is_legacy, is_demo, skin, cape)

Bases: NamedTuple

cape: Cape | None

Alias for field number 5

is_demo: bool

Alias for field number 3

is_legacy: bool

Alias for field number 2

name: str

Alias for field number 0

skin: Skin | None

Alias for field number 4

uuid: str

Alias for field number 1