Class ServerStatusResponse.Players

java.lang.Object
net.minecraft.network.ServerStatusResponse.Players
Enclosing class:
ServerStatusResponse

public static class ServerStatusResponse.Players extends Object
  • 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_)