Class ServerStatus.Players
java.lang.Object
net.minecraft.network.protocol.status.ServerStatus.Players
- Enclosing class:
- ServerStatus
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final intprivate final intprivate com.mojang.authlib.GameProfile[]
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintintcom.mojang.authlib.GameProfile[]voidsetSample(com.mojang.authlib.GameProfile[] p_134925_) 
- 
Field Details- 
maxPlayersprivate final int maxPlayers
- 
numPlayersprivate final int numPlayers
- 
sample@Nullable private com.mojang.authlib.GameProfile[] sample
 
- 
- 
Constructor Details- 
Playerspublic Players(int p_134921_, int p_134922_) 
 
- 
- 
Method Details- 
getMaxPlayerspublic int getMaxPlayers()
- 
getNumPlayerspublic int getNumPlayers()
- 
getSample@Nullable public com.mojang.authlib.GameProfile[] getSample()
- 
setSamplepublic void setSample(com.mojang.authlib.GameProfile[] p_134925_) 
 
-