Package net.minecraft.client.network
Class PlayerListEntry
java.lang.Object
net.minecraft.client.network.PlayerListEntry
- Mappings:
Namespace Name official fdo
intermediary net/minecraft/class_640
named net/minecraft/client/network/PlayerListEntry
-
Field Summary
Modifier and TypeFieldDescriptionprivate GameMode
private int
private MessageVerifier
private final com.mojang.authlib.GameProfile
private @Nullable PublicPlayerSession
private final Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,
Identifier> private boolean
-
Constructor Summary
ConstructorDescriptionPlayerListEntry
(com.mojang.authlib.GameProfile profile, boolean secureChatEnforced) -
Method Summary
Modifier and TypeMethodDescriptionprivate static MessageVerifier
getInitialVerifier
(boolean secureChatEnforced) int
getModel()
com.mojang.authlib.GameProfile
boolean
hasCape()
boolean
boolean
Checks if the player represented by this entry has a custom skin.protected void
protected void
resetSession
(boolean secureChatEnforced) void
setDisplayName
(@Nullable Text displayName) protected void
setGameMode
(GameMode gameMode) protected void
setLatency
(int latency) protected void
setSession
(PublicPlayerSession session)
-
Field Details
-
profile
private final com.mojang.authlib.GameProfile profile- Mappings:
Namespace Name Mixin selector official a
Lfdo;a:Lcom/mojang/authlib/GameProfile;
intermediary field_3741
Lnet/minecraft/class_640;field_3741:Lcom/mojang/authlib/GameProfile;
named profile
Lnet/minecraft/client/network/PlayerListEntry;profile:Lcom/mojang/authlib/GameProfile;
-
textures
- Mappings:
Namespace Name Mixin selector official b
Lfdo;b:Ljava/util/Map;
intermediary field_3742
Lnet/minecraft/class_640;field_3742:Ljava/util/Map;
named textures
Lnet/minecraft/client/network/PlayerListEntry;textures:Ljava/util/Map;
-
gameMode
- Mappings:
Namespace Name Mixin selector official c
Lfdo;c:Lcmf;
intermediary field_3744
Lnet/minecraft/class_640;field_3744:Lnet/minecraft/class_1934;
named gameMode
Lnet/minecraft/client/network/PlayerListEntry;gameMode:Lnet/minecraft/world/GameMode;
-
latency
private int latency- Mappings:
Namespace Name Mixin selector official d
Lfdo;d:I
intermediary field_3739
Lnet/minecraft/class_640;field_3739:I
named latency
Lnet/minecraft/client/network/PlayerListEntry;latency:I
-
texturesLoaded
private boolean texturesLoaded- Mappings:
Namespace Name Mixin selector official e
Lfdo;e:Z
intermediary field_3740
Lnet/minecraft/class_640;field_3740:Z
named texturesLoaded
Lnet/minecraft/client/network/PlayerListEntry;texturesLoaded:Z
-
model
- Mappings:
Namespace Name Mixin selector official f
Lfdo;f:Ljava/lang/String;
intermediary field_3745
Lnet/minecraft/class_640;field_3745:Ljava/lang/String;
named model
Lnet/minecraft/client/network/PlayerListEntry;model:Ljava/lang/String;
-
displayName
- Mappings:
Namespace Name Mixin selector official g
Lfdo;g:Ltj;
intermediary field_3743
Lnet/minecraft/class_640;field_3743:Lnet/minecraft/class_2561;
named displayName
Lnet/minecraft/client/network/PlayerListEntry;displayName:Lnet/minecraft/text/Text;
-
session
- Mappings:
Namespace Name Mixin selector official h
Lfdo;h:Ltz;
intermediary field_40495
Lnet/minecraft/class_640;field_40495:Lnet/minecraft/class_7822;
named session
Lnet/minecraft/client/network/PlayerListEntry;session:Lnet/minecraft/network/encryption/PublicPlayerSession;
-
messageVerifier
- Mappings:
Namespace Name Mixin selector official i
Lfdo;i:Lue;
intermediary field_39809
Lnet/minecraft/class_640;field_39809:Lnet/minecraft/class_7615;
named messageVerifier
Lnet/minecraft/client/network/PlayerListEntry;messageVerifier:Lnet/minecraft/network/message/MessageVerifier;
-
-
Constructor Details
-
PlayerListEntry
public PlayerListEntry(com.mojang.authlib.GameProfile profile, boolean secureChatEnforced) - Mappings:
Namespace Name Mixin selector official <init>
Lfdo;<init>(Lcom/mojang/authlib/GameProfile;Z)V
intermediary <init>
Lnet/minecraft/class_640;<init>(Lcom/mojang/authlib/GameProfile;Z)V
named <init>
Lnet/minecraft/client/network/PlayerListEntry;<init>(Lcom/mojang/authlib/GameProfile;Z)V
-
-
Method Details
-
getProfile
public com.mojang.authlib.GameProfile getProfile()- Mappings:
Namespace Name Mixin selector official a
Lfdo;a()Lcom/mojang/authlib/GameProfile;
intermediary method_2966
Lnet/minecraft/class_640;method_2966()Lcom/mojang/authlib/GameProfile;
named getProfile
Lnet/minecraft/client/network/PlayerListEntry;getProfile()Lcom/mojang/authlib/GameProfile;
-
getSession
- Mappings:
Namespace Name Mixin selector official b
Lfdo;b()Ltz;
intermediary method_45741
Lnet/minecraft/class_640;method_45741()Lnet/minecraft/class_7822;
named getSession
Lnet/minecraft/client/network/PlayerListEntry;getSession()Lnet/minecraft/network/encryption/PublicPlayerSession;
-
getMessageVerifier
- Mappings:
Namespace Name Mixin selector official c
Lfdo;c()Lue;
intermediary method_44817
Lnet/minecraft/class_640;method_44817()Lnet/minecraft/class_7615;
named getMessageVerifier
Lnet/minecraft/client/network/PlayerListEntry;getMessageVerifier()Lnet/minecraft/network/message/MessageVerifier;
-
hasPublicKey
public boolean hasPublicKey()- Mappings:
Namespace Name Mixin selector official d
Lfdo;d()Z
intermediary method_45742
Lnet/minecraft/class_640;method_45742()Z
named hasPublicKey
Lnet/minecraft/client/network/PlayerListEntry;hasPublicKey()Z
-
setSession
- Mappings:
Namespace Name Mixin selector official a
Lfdo;a(Ltz;)V
intermediary method_45740
Lnet/minecraft/class_640;method_45740(Lnet/minecraft/class_7822;)V
named setSession
Lnet/minecraft/client/network/PlayerListEntry;setSession(Lnet/minecraft/network/encryption/PublicPlayerSession;)V
-
resetSession
protected void resetSession(boolean secureChatEnforced) - Mappings:
Namespace Name Mixin selector official a
Lfdo;a(Z)V
intermediary method_46530
Lnet/minecraft/class_640;method_46530(Z)V
named resetSession
Lnet/minecraft/client/network/PlayerListEntry;resetSession(Z)V
-
getInitialVerifier
- Mappings:
Namespace Name Mixin selector official b
Lfdo;b(Z)Lue;
intermediary method_46531
Lnet/minecraft/class_640;method_46531(Z)Lnet/minecraft/class_7615;
named getInitialVerifier
Lnet/minecraft/client/network/PlayerListEntry;getInitialVerifier(Z)Lnet/minecraft/network/message/MessageVerifier;
-
getGameMode
- Mappings:
Namespace Name Mixin selector official e
Lfdo;e()Lcmf;
intermediary method_2958
Lnet/minecraft/class_640;method_2958()Lnet/minecraft/class_1934;
named getGameMode
Lnet/minecraft/client/network/PlayerListEntry;getGameMode()Lnet/minecraft/world/GameMode;
-
setGameMode
- Mappings:
Namespace Name Mixin selector official a
Lfdo;a(Lcmf;)V
intermediary method_2963
Lnet/minecraft/class_640;method_2963(Lnet/minecraft/class_1934;)V
named setGameMode
Lnet/minecraft/client/network/PlayerListEntry;setGameMode(Lnet/minecraft/world/GameMode;)V
-
getLatency
public int getLatency()- Mappings:
Namespace Name Mixin selector official f
Lfdo;f()I
intermediary method_2959
Lnet/minecraft/class_640;method_2959()I
named getLatency
Lnet/minecraft/client/network/PlayerListEntry;getLatency()I
-
setLatency
protected void setLatency(int latency) - Mappings:
Namespace Name Mixin selector official a
Lfdo;a(I)V
intermediary method_2970
Lnet/minecraft/class_640;method_2970(I)V
named setLatency
Lnet/minecraft/client/network/PlayerListEntry;setLatency(I)V
-
hasCape
public boolean hasCape()- Mappings:
Namespace Name Mixin selector official g
Lfdo;g()Z
intermediary method_35757
Lnet/minecraft/class_640;method_35757()Z
named hasCape
Lnet/minecraft/client/network/PlayerListEntry;hasCape()Z
-
hasSkinTexture
public boolean hasSkinTexture()Checks if the player represented by this entry has a custom skin.If the player has the default skin, this will return false.
- Mappings:
Namespace Name Mixin selector official h
Lfdo;h()Z
intermediary method_2967
Lnet/minecraft/class_640;method_2967()Z
named hasSkinTexture
Lnet/minecraft/client/network/PlayerListEntry;hasSkinTexture()Z
-
getModel
- Mappings:
Namespace Name Mixin selector official i
Lfdo;i()Ljava/lang/String;
intermediary method_2977
Lnet/minecraft/class_640;method_2977()Ljava/lang/String;
named getModel
Lnet/minecraft/client/network/PlayerListEntry;getModel()Ljava/lang/String;
-
getSkinTexture
- Mappings:
Namespace Name Mixin selector official j
Lfdo;j()Ladd;
intermediary method_2968
Lnet/minecraft/class_640;method_2968()Lnet/minecraft/class_2960;
named getSkinTexture
Lnet/minecraft/client/network/PlayerListEntry;getSkinTexture()Lnet/minecraft/util/Identifier;
-
getCapeTexture
- Mappings:
Namespace Name Mixin selector official k
Lfdo;k()Ladd;
intermediary method_2979
Lnet/minecraft/class_640;method_2979()Lnet/minecraft/class_2960;
named getCapeTexture
Lnet/minecraft/client/network/PlayerListEntry;getCapeTexture()Lnet/minecraft/util/Identifier;
-
getElytraTexture
- Mappings:
Namespace Name Mixin selector official l
Lfdo;l()Ladd;
intermediary method_2957
Lnet/minecraft/class_640;method_2957()Lnet/minecraft/class_2960;
named getElytraTexture
Lnet/minecraft/client/network/PlayerListEntry;getElytraTexture()Lnet/minecraft/util/Identifier;
-
getScoreboardTeam
- Mappings:
Namespace Name Mixin selector official m
Lfdo;m()Leea;
intermediary method_2955
Lnet/minecraft/class_640;method_2955()Lnet/minecraft/class_268;
named getScoreboardTeam
Lnet/minecraft/client/network/PlayerListEntry;getScoreboardTeam()Lnet/minecraft/scoreboard/Team;
-
loadTextures
protected void loadTextures()- Mappings:
Namespace Name Mixin selector official n
Lfdo;n()V
intermediary method_2969
Lnet/minecraft/class_640;method_2969()V
named loadTextures
Lnet/minecraft/client/network/PlayerListEntry;loadTextures()V
-
setDisplayName
- Mappings:
Namespace Name Mixin selector official a
Lfdo;a(Ltj;)V
intermediary method_2962
Lnet/minecraft/class_640;method_2962(Lnet/minecraft/class_2561;)V
named setDisplayName
Lnet/minecraft/client/network/PlayerListEntry;setDisplayName(Lnet/minecraft/text/Text;)V
-
getDisplayName
- Mappings:
Namespace Name Mixin selector official o
Lfdo;o()Ltj;
intermediary method_2971
Lnet/minecraft/class_640;method_2971()Lnet/minecraft/class_2561;
named getDisplayName
Lnet/minecraft/client/network/PlayerListEntry;getDisplayName()Lnet/minecraft/text/Text;
-