Class ServerMetadata.Players

java.lang.Object
net.minecraft.server.ServerMetadata.Players
Enclosing class:
ServerMetadata

public static class ServerMetadata.Players
extends Object
  • Field Details

    • max

      private final int max
    • online

      private final int online
    • sample

      private com.mojang.authlib.GameProfile[] sample
  • Constructor Details

    • Players

      public Players​(int max, int online)
  • Method Details

    • getPlayerLimit

      public int getPlayerLimit()
    • getOnlinePlayerCount

      public int getOnlinePlayerCount()
    • getSample

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

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