Class PlayerListEntry

java.lang.Object
net.minecraft.client.network.PlayerListEntry

@Environment(CLIENT) public class PlayerListEntry extends Object
Mappings:
Namespace Name
official ffb
intermediary net/minecraft/class_640
named net/minecraft/client/network/PlayerListEntry
  • Field Details

    • profile

      private final com.mojang.authlib.GameProfile profile
      Mappings:
      Namespace Name Mixin selector
      official a Lffb;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

      private final Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,Identifier> textures
      Mappings:
      Namespace Name Mixin selector
      official b Lffb;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

      private GameMode gameMode
      Mappings:
      Namespace Name Mixin selector
      official c Lffb;c:Lcmj;
      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 Lffb;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 Lffb;e:Z
      intermediary field_3740 Lnet/minecraft/class_640;field_3740:Z
      named texturesLoaded Lnet/minecraft/client/network/PlayerListEntry;texturesLoaded:Z
    • model

      @Nullable private @Nullable String model
      Mappings:
      Namespace Name Mixin selector
      official f Lffb;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

      @Nullable private @Nullable Text displayName
      Mappings:
      Namespace Name Mixin selector
      official g Lffb;g:Lsw;
      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 Lffb;h:Ltm;
      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

      private MessageVerifier messageVerifier
      Mappings:
      Namespace Name Mixin selector
      official i Lffb;i:Ltr;
      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> Lffb;<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 Lffb;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 Lffb;b()Ltm;
      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

      public MessageVerifier getMessageVerifier()
      Mappings:
      Namespace Name Mixin selector
      official c Lffb;c()Ltr;
      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 Lffb;d()Z
      intermediary method_45742 Lnet/minecraft/class_640;method_45742()Z
      named hasPublicKey Lnet/minecraft/client/network/PlayerListEntry;hasPublicKey()Z
    • setSession

      protected void setSession(PublicPlayerSession session)
      Mappings:
      Namespace Name Mixin selector
      official a Lffb;a(Ltm;)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 Lffb;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

      private static MessageVerifier getInitialVerifier(boolean secureChatEnforced)
      Mappings:
      Namespace Name Mixin selector
      official b Lffb;b(Z)Ltr;
      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

      public GameMode getGameMode()
      Mappings:
      Namespace Name Mixin selector
      official e Lffb;e()Lcmj;
      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

      protected void setGameMode(GameMode gameMode)
      Mappings:
      Namespace Name Mixin selector
      official a Lffb;a(Lcmj;)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 Lffb;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 Lffb;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 Lffb;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 Lffb;h()Z
      intermediary method_2967 Lnet/minecraft/class_640;method_2967()Z
      named hasSkinTexture Lnet/minecraft/client/network/PlayerListEntry;hasSkinTexture()Z
    • getModel

      public String getModel()
      Mappings:
      Namespace Name Mixin selector
      official i Lffb;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

      public Identifier getSkinTexture()
      Mappings:
      Namespace Name Mixin selector
      official j Lffb;j()Lacq;
      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

      @Nullable public @Nullable Identifier getCapeTexture()
      Mappings:
      Namespace Name Mixin selector
      official k Lffb;k()Lacq;
      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

      @Nullable public @Nullable Identifier getElytraTexture()
      Mappings:
      Namespace Name Mixin selector
      official l Lffb;l()Lacq;
      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

      @Nullable public @Nullable Team getScoreboardTeam()
      Mappings:
      Namespace Name Mixin selector
      official m Lffb;m()Lefe;
      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 Lffb;n()V
      intermediary method_2969 Lnet/minecraft/class_640;method_2969()V
      named loadTextures Lnet/minecraft/client/network/PlayerListEntry;loadTextures()V
    • setDisplayName

      public void setDisplayName(@Nullable @Nullable Text displayName)
      Mappings:
      Namespace Name Mixin selector
      official a Lffb;a(Lsw;)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

      @Nullable public @Nullable Text getDisplayName()
      Mappings:
      Namespace Name Mixin selector
      official o Lffb;o()Lsw;
      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;