Package net.minecraft.server
Class ServerMetadata.Players
java.lang.Object
net.minecraft.server.ServerMetadata.Players
- Enclosing class:
- ServerMetadata
public static class ServerMetadata.Players extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServerMetadata.Players.Deserializer
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Players(int max, int online)
-
Method Summary
Modifier and Type Method Description int
getOnlinePlayerCount()
int
getPlayerLimit()
com.mojang.authlib.GameProfile[]
getSample()
void
setSample(com.mojang.authlib.GameProfile[] sample)
-
Field Details
-
max
private final int max -
online
private final int online -
sample
private com.mojang.authlib.GameProfile[] sample
-
-
Constructor Details
-
Players
public Players(int max, int online)
-
-
Method Details
-
getPlayerLimit
public int getPlayerLimit() -
getOnlinePlayerCount
public int getOnlinePlayerCount() -
getSample
public com.mojang.authlib.GameProfile[] getSample() -
setSample
public void setSample(com.mojang.authlib.GameProfile[] sample)
-