Interface ICustomPlayerGroupMemberAPI
public interface ICustomPlayerGroupMemberAPI
The API for a player group member entry
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.network.chat.ComponentGets the display label for this member entry, including the tooltip.Gets the name of the player if it is part of the entry.getId()Gets the UUID of the player if it is part of the entry.
-
Method Details
-
getId
Gets the UUID of the player if it is part of the entry.- Returns:
- the UUID of this member, null if it's not included
-
getDisplayName
Gets the name of the player if it is part of the entry.- Returns:
- the name of this member, null if it's not included
-
getDisplayLabel
@Nonnull net.minecraft.network.chat.Component getDisplayLabel()Gets the display label for this member entry, including the tooltip.- Returns:
- the
Componentrepresenting the display label of this entry, not null
-