Module player

Source

Structs§

GameProfileComponent
A component only present in players that contains the GameProfile (which you can use to get a player’s name).
PlayerInfo
A player in the tab list.

Functions§

retroactively_add_game_profile_component
Add a GameProfileComponent when an AddPlayerEvent is received. Usually the GameProfileComponent will be added from the ClientboundGamePacket::AddPlayer handler though.