public class NetworkPlayerInfo
extends java.lang.Object
Constructor and Description |
---|
NetworkPlayerInfo(GameProfile profile) |
Modifier and Type | Method and Description |
---|---|
int |
getDisplayHealth() |
ITextComponent |
getDisplayName() |
GameProfile |
getGameProfile()
Returns the GameProfile for the player represented by this NetworkPlayerInfo instance
|
GameType |
getGameType() |
long |
getHealthBlinkTime() |
int |
getLastHealth() |
long |
getLastHealthTime() |
ResourceLocation |
getLocationCape() |
ResourceLocation |
getLocationElytra()
Gets the special Elytra texture for the player.
|
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(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 GameProfile getGameProfile()
public GameType getGameType()
protected void setGameType(GameType gameMode)
public int getResponseTime()
protected void setResponseTime(int latency)
public boolean hasLocationSkin()
public java.lang.String getSkinType()
public ResourceLocation getLocationSkin()
public ResourceLocation getLocationCape()
public ResourceLocation getLocationElytra()
public ScorePlayerTeam getPlayerTeam()
protected void loadPlayerTextures()
public void setDisplayName(ITextComponent displayNameIn)
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_)