Class SPlayerListItemPacket.AddPlayerData

  • Enclosing class:
    SPlayerListItemPacket

    public class SPlayerListItemPacket.AddPlayerData
    extends java.lang.Object
    • Field Detail

      • latency

        private final int latency
      • gameMode

        private final GameType gameMode
      • profile

        private final com.mojang.authlib.GameProfile profile
    • Constructor Detail

      • AddPlayerData

        public AddPlayerData​(com.mojang.authlib.GameProfile p_i46663_2_,
                             int p_i46663_3_,
                             @Nullable
                             GameType p_i46663_4_,
                             @Nullable
                             ITextComponent p_i46663_5_)
    • Method Detail

      • getProfile

        public com.mojang.authlib.GameProfile getProfile()
      • getLatency

        public int getLatency()
      • getGameMode

        public GameType getGameMode()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object