Interface PlayerInfoEntry
- All Known Subinterfaces:
Player
public interface PlayerInfoEntry
Represents an entry in the player info tab list.
-
Method Summary
Modifier and TypeMethodDescription@Nullable Component
Gets the display name of the entry.@NotNull GameMode
gameMode()
Gets the game mode of the entry.int
ping()
Gets the ping/latency of the entry.@NotNull GameProfile
profile()
Gets theGameProfile
of the entry.
-
Method Details
-
profile
Gets theGameProfile
of the entry.- Returns:
- the
GameProfile
of the entry - Since:
- 1.0.0
-
gameMode
Gets the game mode of the entry.- Returns:
- the game mode of the entry
- Since:
- 1.0.0
-
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
-