Interface PlayerInfoEntry
- All Known Subinterfaces:
Player
public interface PlayerInfoEntry
Represents an entry in the player info tab list.
-
Method Summary
Modifier and TypeMethodDescription@Nullable ComponentGets the display name of the entry.@NotNull GameModegameMode()Gets the game mode of the entry.intping()Gets the ping/latency of the entry.@NotNull GameProfileprofile()Gets theGameProfileof the entry.
-
Method Details
-
profile
Gets theGameProfileof the entry.- Returns:
- the
GameProfileof 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
-