Package net.minecraft.network
Class ServerStatusResponse.PlayerCountData
- java.lang.Object
-
- net.minecraft.network.ServerStatusResponse.PlayerCountData
-
- Enclosing class:
- ServerStatusResponse
public static class ServerStatusResponse.PlayerCountData extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServerStatusResponse.PlayerCountData.Serializer
-
Constructor Summary
Constructors Constructor Description PlayerCountData(int maxOnlinePlayers, int onlinePlayers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxPlayers()
int
getOnlinePlayerCount()
GameProfile[]
getPlayers()
void
setPlayers(GameProfile[] playersIn)
-
-
-
Method Detail
-
getMaxPlayers
public int getMaxPlayers()
-
getOnlinePlayerCount
public int getOnlinePlayerCount()
-
getPlayers
public GameProfile[] getPlayers()
-
setPlayers
public void setPlayers(GameProfile[] playersIn)
-
-