Package net.minestom.server.ping
Class Status.PlayerInfo.Builder
java.lang.Object
net.minestom.server.ping.Status.PlayerInfo.Builder
- Enclosing class:
Status.PlayerInfo
-
Method Summary
Modifier and TypeMethodDescription@NotNull Status.PlayerInfo
build()
maxPlayers
(int maxPlayers) onlinePlayers
(int onlinePlayers) sample
(@NotNull List<@NotNull NamedAndIdentified> sample) sample
(@NotNull GameProfile profile) sample
(@NotNull NamedAndIdentified profile)
-
Method Details
-
onlinePlayers
-
maxPlayers
-
sample
@Contract("_ -> this") public Status.PlayerInfo.Builder sample(@NotNull @NotNull List<@NotNull NamedAndIdentified> sample) -
sample
@Contract("_ -> this") public Status.PlayerInfo.Builder sample(@NotNull @NotNull NamedAndIdentified profile) -
sample
@Contract("_ -> this") public Status.PlayerInfo.Builder sample(@NotNull @NotNull GameProfile profile) -
sample
@Contract("_ -> this") public Status.PlayerInfo.Builder sample(@NotNull @NotNull Component component) -
sample
-
build
-