Interface PlayerInfoEntry

All Known Subinterfaces:
Player

public interface PlayerInfoEntry
Represents an entry in the player info tab list.
  • Method Details

    • profile

      @NotNull @NotNull GameProfile profile()
      Gets the GameProfile of the entry.
      Returns:
      the GameProfile of the entry
      Since:
      1.0.0
    • gameMode

      @NotNull @NotNull GameMode gameMode()
      Gets the game mode of the entry.
      Returns:
      the game mode of the entry
      Since:
      1.0.0
    • displayName

      @Nullable @Nullable Component displayName()
      Gets the display name of the entry.
      Returns:
      the display name of the entry
      Since:
      1.0.0
    • ping

      int ping()
      Gets the ping/latency of the entry.
      Returns:
      the ping/latency of the entry
      Since:
      1.0.0