Class PlayerListEntry

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

@Environment(CLIENT) public class PlayerListEntry extends Object
Mappings:
Namespace Name
official ejl
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 Lejl;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 Lejl;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 Lejl;c:Lbwm;
      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 Lejl;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 Lejl;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 Lejl;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 Lejl;g:Los;
      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;
    • health

      private int health
      Mappings:
      Namespace Name Mixin selector
      official h Lejl;h:I
      intermediary field_3738 Lnet/minecraft/class_640;field_3738:I
      named health Lnet/minecraft/client/network/PlayerListEntry;health:I
    • field_3736

      private int field_3736
      Mappings:
      Namespace Name Mixin selector
      official i Lejl;i:I
      intermediary field_3736 Lnet/minecraft/class_640;field_3736:I
      named field_3736 Lnet/minecraft/client/network/PlayerListEntry;field_3736:I
    • field_3737

      private long field_3737
      Mappings:
      Namespace Name Mixin selector
      official j Lejl;j:J
      intermediary field_3737 Lnet/minecraft/class_640;field_3737:J
      named field_3737 Lnet/minecraft/client/network/PlayerListEntry;field_3737:J
    • field_3747

      private long field_3747
      Mappings:
      Namespace Name Mixin selector
      official k Lejl;k:J
      intermediary field_3747 Lnet/minecraft/class_640;field_3747:J
      named field_3747 Lnet/minecraft/client/network/PlayerListEntry;field_3747:J
    • showTime

      private long showTime
      Mappings:
      Namespace Name Mixin selector
      official l Lejl;l:J
      intermediary field_3746 Lnet/minecraft/class_640;field_3746:J
      named showTime Lnet/minecraft/client/network/PlayerListEntry;showTime:J
  • Constructor Details

    • PlayerListEntry

      public PlayerListEntry(PlayerListS2CPacket.Entry playerListPacketEntry)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lejl;<init>(Lro$b;)V
      intermediary <init> Lnet/minecraft/class_640;<init>(Lnet/minecraft/class_2703$class_2705;)V
      named <init> Lnet/minecraft/client/network/PlayerListEntry;<init>(Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;)V
  • Method Details

    • getProfile

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

      @Nullable public @Nullable GameMode getGameMode()
      Mappings:
      Namespace Name Mixin selector
      official b Lejl;b()Lbwm;
      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 Lejl;a(Lbwm;)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 c Lejl;c()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 Lejl;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 d Lejl;d()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 e Lejl;e()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 f Lejl;f()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 g Lejl;g()Lww;
      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 h Lejl;h()Lww;
      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 i Lejl;i()Lww;
      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 j Lejl;j()Ldnw;
      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 k Lejl;k()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 Lejl;a(Los;)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 l Lejl;l()Los;
      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;
    • getHealth

      public int getHealth()
      Mappings:
      Namespace Name Mixin selector
      official m Lejl;m()I
      intermediary method_2973 Lnet/minecraft/class_640;method_2973()I
      named getHealth Lnet/minecraft/client/network/PlayerListEntry;getHealth()I
    • setHealth

      public void setHealth(int health)
      Mappings:
      Namespace Name Mixin selector
      official b Lejl;b(I)V
      intermediary method_2972 Lnet/minecraft/class_640;method_2972(I)V
      named setHealth Lnet/minecraft/client/network/PlayerListEntry;setHealth(I)V
    • method_2960

      public int method_2960()
      Mappings:
      Namespace Name Mixin selector
      official n Lejl;n()I
      intermediary method_2960 Lnet/minecraft/class_640;method_2960()I
      named method_2960 Lnet/minecraft/client/network/PlayerListEntry;method_2960()I
    • method_2965

      public void method_2965(int int2)
      Mappings:
      Namespace Name Mixin selector
      official c Lejl;c(I)V
      intermediary method_2965 Lnet/minecraft/class_640;method_2965(I)V
      named method_2965 Lnet/minecraft/client/network/PlayerListEntry;method_2965(I)V
    • method_2974

      public long method_2974()
      Mappings:
      Namespace Name Mixin selector
      official o Lejl;o()J
      intermediary method_2974 Lnet/minecraft/class_640;method_2974()J
      named method_2974 Lnet/minecraft/client/network/PlayerListEntry;method_2974()J
    • method_2978

      public void method_2978(long long2)
      Mappings:
      Namespace Name Mixin selector
      official a Lejl;a(J)V
      intermediary method_2978 Lnet/minecraft/class_640;method_2978(J)V
      named method_2978 Lnet/minecraft/client/network/PlayerListEntry;method_2978(J)V
    • method_2961

      public long method_2961()
      Mappings:
      Namespace Name Mixin selector
      official p Lejl;p()J
      intermediary method_2961 Lnet/minecraft/class_640;method_2961()J
      named method_2961 Lnet/minecraft/client/network/PlayerListEntry;method_2961()J
    • method_2975

      public void method_2975(long long2)
      Mappings:
      Namespace Name Mixin selector
      official b Lejl;b(J)V
      intermediary method_2975 Lnet/minecraft/class_640;method_2975(J)V
      named method_2975 Lnet/minecraft/client/network/PlayerListEntry;method_2975(J)V
    • getShowTime

      public long getShowTime()
      Mappings:
      Namespace Name Mixin selector
      official q Lejl;q()J
      intermediary method_2976 Lnet/minecraft/class_640;method_2976()J
      named getShowTime Lnet/minecraft/client/network/PlayerListEntry;getShowTime()J
    • setShowTime

      public void setShowTime(long showTime)
      Mappings:
      Namespace Name Mixin selector
      official c Lejl;c(J)V
      intermediary method_2964 Lnet/minecraft/class_640;method_2964(J)V
      named setShowTime Lnet/minecraft/client/network/PlayerListEntry;setShowTime(J)V