Package net.minecraft.network
Class ServerStatusResponse.Players
java.lang.Object
net.minecraft.network.ServerStatusResponse.Players
- Enclosing class:
- ServerStatusResponse
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private com.mojang.authlib.GameProfile[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
com.mojang.authlib.GameProfile[]
void
setSample
(com.mojang.authlib.GameProfile[] p_151330_1_)
-
Field Details
-
maxPlayers
private final int maxPlayers -
numPlayers
private final int numPlayers -
sample
private com.mojang.authlib.GameProfile[] sample
-
-
Constructor Details
-
Players
public Players(int p_i45274_1_, int p_i45274_2_)
-
-
Method Details
-
getMaxPlayers
public int getMaxPlayers() -
getNumPlayers
public int getNumPlayers() -
getSample
public com.mojang.authlib.GameProfile[] getSample() -
setSample
public void setSample(com.mojang.authlib.GameProfile[] p_151330_1_)
-