Class NetworkPlayerInfo
java.lang.Object
net.minecraft.client.network.play.NetworkPlayerInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private GameType
private long
private int
private long
private int
private boolean
private final com.mojang.authlib.GameProfile
private long
private String
private ITextComponent
private final Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,
ResourceLocation> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
long
int
long
int
com.mojang.authlib.GameProfile
long
getTeam()
boolean
protected void
void
setDisplayHealth
(int p_178857_1_) protected void
setGameMode
(GameType p_178839_1_) void
setHealthBlinkTime
(long p_178844_1_) void
setLastHealth
(int p_178836_1_) void
setLastHealthTime
(long p_178846_1_) protected void
setLatency
(int p_178838_1_) void
setRenderVisibilityId
(long p_178843_1_) void
setTabListDisplayName
(ITextComponent p_178859_1_)
-
Field Details
-
profile
private final com.mojang.authlib.GameProfile profile -
textureLocations
private final Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,ResourceLocation> textureLocations -
gameMode
-
latency
private int latency -
pendingTextures
private boolean pendingTextures -
skinModel
-
tabListDisplayName
-
lastHealth
private int lastHealth -
displayHealth
private int displayHealth -
lastHealthTime
private long lastHealthTime -
healthBlinkTime
private long healthBlinkTime -
renderVisibilityId
private long renderVisibilityId
-
-
Constructor Details
-
NetworkPlayerInfo
-
-
Method Details
-
getProfile
public com.mojang.authlib.GameProfile getProfile() -
getGameMode
-
setGameMode
-
getLatency
public int getLatency() -
setLatency
protected void setLatency(int p_178838_1_) -
isSkinLoaded
public boolean isSkinLoaded() -
getModelName
-
getSkinLocation
-
getCapeLocation
-
getElytraLocation
-
getTeam
-
registerTextures
protected void registerTextures() -
setTabListDisplayName
-
getTabListDisplayName
-
getLastHealth
public int getLastHealth() -
setLastHealth
public void setLastHealth(int p_178836_1_) -
getDisplayHealth
public int getDisplayHealth() -
setDisplayHealth
public void setDisplayHealth(int p_178857_1_) -
getLastHealthTime
public long getLastHealthTime() -
setLastHealthTime
public void setLastHealthTime(long p_178846_1_) -
getHealthBlinkTime
public long getHealthBlinkTime() -
setHealthBlinkTime
public void setHealthBlinkTime(long p_178844_1_) -
getRenderVisibilityId
public long getRenderVisibilityId() -
setRenderVisibilityId
public void setRenderVisibilityId(long p_178843_1_)
-