@Environment(value=CLIENT) public class PlayerListEntry extends Object
Modifier and Type | Field and Description |
---|---|
private Text |
displayName |
private int |
field_3736 |
private long |
field_3737 |
private int |
field_3738 |
private long |
field_3746 |
private long |
field_3747 |
private GameMode |
gameMode |
private int |
latency |
private String |
model |
private com.mojang.authlib.GameProfile |
profile |
private Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,Identifier> |
textures |
private boolean |
texturesLoaded |
Constructor and Description |
---|
PlayerListEntry(PlayerListS2CPacket.Entry playerListPacketEntry) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getCapeTexture() |
Text |
getDisplayName() |
Identifier |
getElytraTexture() |
GameMode |
getGameMode() |
int |
getLatency() |
String |
getModel() |
com.mojang.authlib.GameProfile |
getProfile() |
Team |
getScoreboardTeam() |
Identifier |
getSkinTexture() |
boolean |
hasSkinTexture()
Checks if the player represented by this entry has a custom skin.
|
protected void |
loadTextures() |
int |
method_2960() |
long |
method_2961() |
void |
method_2964(long long2) |
void |
method_2965(int int2) |
void |
method_2972(int int2) |
int |
method_2973() |
long |
method_2974() |
void |
method_2975(long long2) |
long |
method_2976() |
void |
method_2978(long long2) |
void |
setDisplayName(Text displayName) |
protected void |
setGameMode(GameMode gameMode) |
protected void |
setLatency(int latency) |
private final com.mojang.authlib.GameProfile profile
private final Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,Identifier> textures
private GameMode gameMode
private int latency
private boolean texturesLoaded
private int field_3738
private int field_3736
private long field_3737
private long field_3747
private long field_3746
public PlayerListEntry(PlayerListS2CPacket.Entry playerListPacketEntry)
public com.mojang.authlib.GameProfile getProfile()
protected void setGameMode(GameMode gameMode)
public int getLatency()
protected void setLatency(int latency)
public boolean hasSkinTexture()
If the player has the default skin, this will return false.
public String getModel()
public Identifier getSkinTexture()
@Nullable public Identifier getCapeTexture()
@Nullable public Identifier getElytraTexture()
protected void loadTextures()
public int method_2973()
public void method_2972(int int2)
public int method_2960()
public void method_2965(int int2)
public long method_2974()
public void method_2978(long long2)
public long method_2961()
public void method_2975(long long2)
public long method_2976()
public void method_2964(long long2)