Class SPlayerListItemPacket.AddPlayerData

java.lang.Object
net.minecraft.network.play.server.SPlayerListItemPacket.AddPlayerData
Enclosing class:
SPlayerListItemPacket

public class SPlayerListItemPacket.AddPlayerData extends Object
  • Field Details

    • latency

      private final int latency
    • gameMode

      private final GameType gameMode
    • profile

      private final com.mojang.authlib.GameProfile profile
    • displayName

      private final ITextComponent displayName
  • Constructor Details

    • 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 Details

    • getProfile

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

      public int getLatency()
    • getGameMode

      public GameType getGameMode()
    • getDisplayName

      @Nullable public ITextComponent getDisplayName()
    • toString

      public String toString()
      Overrides:
      toString in class Object