public class SPacketPlayerListItem.AddPlayerData
extends java.lang.Object
Constructor and Description |
---|
AddPlayerData(com.mojang.authlib.GameProfile profileIn,
int latencyIn,
GameType gameModeIn,
ITextComponent displayNameIn) |
Modifier and Type | Method and Description |
---|---|
ITextComponent |
getDisplayName() |
GameType |
getGameMode() |
int |
getPing() |
com.mojang.authlib.GameProfile |
getProfile() |
java.lang.String |
toString() |
public AddPlayerData(com.mojang.authlib.GameProfile profileIn, int latencyIn, GameType gameModeIn, @Nullable ITextComponent displayNameIn)
public com.mojang.authlib.GameProfile getProfile()
public int getPing()
public GameType getGameMode()
@Nullable public ITextComponent getDisplayName()
public java.lang.String toString()
toString
in class java.lang.Object