Class ServerStatus.Players

java.lang.Object
net.minecraft.network.protocol.status.ServerStatus.Players
Enclosing class:
ServerStatus

public static class ServerStatus.Players extends Object
  • Field Details

    • maxPlayers

      private final int maxPlayers
    • numPlayers

      private final int numPlayers
    • sample

      @Nullable 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

      @Nullable public com.mojang.authlib.GameProfile[] getSample()
    • setSample

      public void setSample(com.mojang.authlib.GameProfile[] p_134925_)