Class ServerStatus.Players
java.lang.Object
net.minecraft.network.protocol.status.ServerStatus.Players
- Enclosing class:
- ServerStatus
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private 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_134925_)
-
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_134921_, int p_134922_)
-
-
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_134925_)
-