public class NetworkPlayerInfo
extends java.lang.Object
Constructor and Description |
---|
NetworkPlayerInfo(com.mojang.authlib.GameProfile profile) |
NetworkPlayerInfo(SPacketPlayerListItem.AddPlayerData entry) |
Modifier and Type | Method and Description |
---|---|
int |
getDisplayHealth() |
ITextComponent |
getDisplayName() |
com.mojang.authlib.GameProfile |
getGameProfile() |
WorldSettings.GameType |
getGameType() |
long |
getHealthBlinkTime() |
int |
getLastHealth() |
long |
getLastHealthTime() |
ResourceLocation |
getLocationCape() |
ResourceLocation |
getLocationElytra() |
ResourceLocation |
getLocationSkin() |
ScorePlayerTeam |
getPlayerTeam() |
long |
getRenderVisibilityId() |
int |
getResponseTime() |
java.lang.String |
getSkinType() |
boolean |
hasLocationSkin() |
protected void |
loadPlayerTextures() |
void |
setDisplayHealth(int p_178857_1_) |
void |
setDisplayName(ITextComponent displayNameIn) |
protected void |
setGameType(WorldSettings.GameType gameMode) |
void |
setHealthBlinkTime(long p_178844_1_) |
void |
setLastHealth(int p_178836_1_) |
void |
setLastHealthTime(long p_178846_1_) |
void |
setRenderVisibilityId(long p_178843_1_) |
protected void |
setResponseTime(int latency) |
public NetworkPlayerInfo(com.mojang.authlib.GameProfile profile)
public NetworkPlayerInfo(SPacketPlayerListItem.AddPlayerData entry)
public com.mojang.authlib.GameProfile getGameProfile()
public WorldSettings.GameType getGameType()
protected void setGameType(WorldSettings.GameType gameMode)
public int getResponseTime()
protected void setResponseTime(int latency)
public boolean hasLocationSkin()
public java.lang.String getSkinType()
public ResourceLocation getLocationSkin()
@Nullable public ResourceLocation getLocationCape()
@Nullable public ResourceLocation getLocationElytra()
@Nullable public ScorePlayerTeam getPlayerTeam()
protected void loadPlayerTextures()
public void setDisplayName(@Nullable ITextComponent displayNameIn)
@Nullable public ITextComponent getDisplayName()
public int getLastHealth()
public void setLastHealth(int p_178836_1_)
public int getDisplayHealth()
public void setDisplayHealth(int p_178857_1_)
public long getLastHealthTime()
public void setLastHealthTime(long p_178846_1_)
public long getHealthBlinkTime()
public void setHealthBlinkTime(long p_178844_1_)
public long getRenderVisibilityId()
public void setRenderVisibilityId(long p_178843_1_)