Class ServerStatusResponse.Players

  • Enclosing class:
    ServerStatusResponse

    public static class ServerStatusResponse.Players
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int maxPlayers  
      private int numPlayers  
      private com.mojang.authlib.GameProfile[] sample  
    • Constructor Summary

      Constructors 
      Constructor Description
      Players​(int p_i45274_1_, int p_i45274_2_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getMaxPlayers()  
      int getNumPlayers()  
      com.mojang.authlib.GameProfile[] getSample()  
      void setSample​(com.mojang.authlib.GameProfile[] p_151330_1_)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • maxPlayers

        private final int maxPlayers
      • numPlayers

        private final int numPlayers
      • sample

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

      • Players

        public Players​(int p_i45274_1_,
                       int p_i45274_2_)
    • Method Detail

      • 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_)