Class PlayerListEntry

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

@Environment(CLIENT) public class PlayerListEntry extends Object
Mappings:
Namespace Name
official exp
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 Lexp;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 Lexp;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 Lexp;c:Lciw;
      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 Lexp;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 Lexp;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 Lexp;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 Lexp;g:Lsi;
      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;
    • field_40495

      @Nullable private @Nullable class_7822 field_40495
      Mappings:
      Namespace Name Mixin selector
      official h Lexp;h:Lsy;
      intermediary field_40495 Lnet/minecraft/class_640;field_40495:Lnet/minecraft/class_7822;
      named field_40495 Lnet/minecraft/client/network/PlayerListEntry;field_40495:Lnet/minecraft/class_7822;
    • messageVerifier

      private MessageVerifier messageVerifier
      Mappings:
      Namespace Name Mixin selector
      official i Lexp;i:Ltd;
      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 gameProfile)
  • Method Details

    • getProfile

      public com.mojang.authlib.GameProfile getProfile()
      Mappings:
      Namespace Name Mixin selector
      official a Lexp;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;
    • method_45741

      @Nullable public @Nullable class_7822 method_45741()
      Mappings:
      Namespace Name Mixin selector
      official b Lexp;b()Lsy;
      intermediary method_45741 Lnet/minecraft/class_640;method_45741()Lnet/minecraft/class_7822;
      named method_45741 Lnet/minecraft/client/network/PlayerListEntry;method_45741()Lnet/minecraft/class_7822;
    • getMessageVerifier

      public MessageVerifier getMessageVerifier()
      Mappings:
      Namespace Name Mixin selector
      official c Lexp;c()Ltd;
      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;
    • method_45742

      public boolean method_45742()
      Mappings:
      Namespace Name Mixin selector
      official d Lexp;d()Z
      intermediary method_45742 Lnet/minecraft/class_640;method_45742()Z
      named method_45742 Lnet/minecraft/client/network/PlayerListEntry;method_45742()Z
    • method_45740

      protected void method_45740(@Nullable @Nullable class_7822 class_7822)
      Mappings:
      Namespace Name Mixin selector
      official a Lexp;a(Lsy;)V
      intermediary method_45740 Lnet/minecraft/class_640;method_45740(Lnet/minecraft/class_7822;)V
      named method_45740 Lnet/minecraft/client/network/PlayerListEntry;method_45740(Lnet/minecraft/class_7822;)V
    • getGameMode

      public GameMode getGameMode()
      Mappings:
      Namespace Name Mixin selector
      official e Lexp;e()Lciw;
      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 Lexp;a(Lciw;)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 Lexp;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 Lexp;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 Lexp;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 Lexp;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 Lexp;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 Lexp;j()Labv;
      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 Lexp;k()Labv;
      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 Lexp;l()Labv;
      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 Lexp;m()Leaa;
      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 Lexp;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 Lexp;a(Lsi;)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 Lexp;o()Lsi;
      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;