Interface ICustomPlayerGroupMemberAPI


public interface ICustomPlayerGroupMemberAPI
The API for a player group member entry
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.network.chat.Component
    Gets the display label for this member entry, including the tooltip.
    Gets the name of the player if it is part of the entry.
    Gets the UUID of the player if it is part of the entry.
  • Method Details

    • getId

      @Nullable UUID 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

      @Nullable String 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 Component representing the display label of this entry, not null