Class PlayerListS2CPacket.Entry

java.lang.Object
net.minecraft.network.packet.s2c.play.PlayerListS2CPacket.Entry
Enclosing class:
PlayerListS2CPacket

public class PlayerListS2CPacket.Entry extends Object
Mappings:
Namespace Name
official hb$b
intermediary net/minecraft/class_705$class_2579
named net/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry
  • Field Details

    • latency

      private final int latency
      Mappings:
      Namespace Name Mixin selector
      official b Lhb$b;b:I
      intermediary field_11645 Lnet/minecraft/class_705$class_2579;field_11645:I
      named latency Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;latency:I
    • gameMode

      private final LevelInfo.GameMode gameMode
      Mappings:
      Namespace Name Mixin selector
      official c Lhb$b;c:Lahw$a;
      intermediary field_11646 Lnet/minecraft/class_705$class_2579;field_11646:Lnet/minecraft/class_1156$class_1157;
      named gameMode Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;gameMode:Lnet/minecraft/world/level/LevelInfo$GameMode;
    • profile

      private final com.mojang.authlib.GameProfile profile
      Mappings:
      Namespace Name Mixin selector
      official d Lhb$b;d:Lcom/mojang/authlib/GameProfile;
      intermediary field_11647 Lnet/minecraft/class_705$class_2579;field_11647:Lcom/mojang/authlib/GameProfile;
      named profile Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;profile:Lcom/mojang/authlib/GameProfile;
    • displayName

      private final Text displayName
      Mappings:
      Namespace Name Mixin selector
      official e Lhb$b;e:Lew;
      intermediary field_11648 Lnet/minecraft/class_705$class_2579;field_11648:Lnet/minecraft/class_1982;
      named displayName Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;displayName:Lnet/minecraft/text/Text;
  • Constructor Details

    • Entry

      public Entry(com.mojang.authlib.GameProfile profile, int latency, LevelInfo.GameMode gameMode, @Nullable Text displayName)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhb$b;<init>(Lhb;Lcom/mojang/authlib/GameProfile;ILahw$a;Lew;)V
      intermediary <init> Lnet/minecraft/class_705$class_2579;<init>(Lnet/minecraft/class_705;Lcom/mojang/authlib/GameProfile;ILnet/minecraft/class_1156$class_1157;Lnet/minecraft/class_1982;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;<init>(Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;Lcom/mojang/authlib/GameProfile;ILnet/minecraft/world/level/LevelInfo$GameMode;Lnet/minecraft/text/Text;)V
  • Method Details

    • getProfile

      public com.mojang.authlib.GameProfile getProfile()
      Mappings:
      Namespace Name Mixin selector
      official a Lhb$b;a()Lcom/mojang/authlib/GameProfile;
      intermediary method_10671 Lnet/minecraft/class_705$class_2579;method_10671()Lcom/mojang/authlib/GameProfile;
      named getProfile Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;getProfile()Lcom/mojang/authlib/GameProfile;
    • getLatency

      public int getLatency()
      Mappings:
      Namespace Name Mixin selector
      official b Lhb$b;b()I
      intermediary method_10672 Lnet/minecraft/class_705$class_2579;method_10672()I
      named getLatency Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;getLatency()I
    • getGameMode

      public LevelInfo.GameMode getGameMode()
      Mappings:
      Namespace Name Mixin selector
      official c Lhb$b;c()Lahw$a;
      intermediary method_10673 Lnet/minecraft/class_705$class_2579;method_10673()Lnet/minecraft/class_1156$class_1157;
      named getGameMode Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;getGameMode()Lnet/minecraft/world/level/LevelInfo$GameMode;
    • getDisplayName

      @Nullable public Text getDisplayName()
      Mappings:
      Namespace Name Mixin selector
      official d Lhb$b;d()Lew;
      intermediary method_10674 Lnet/minecraft/class_705$class_2579;method_10674()Lnet/minecraft/class_1982;
      named getDisplayName Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;getDisplayName()Lnet/minecraft/text/Text;
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Lhb$b;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_705$class_2579;toString()Ljava/lang/String;
      named toString Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;toString()Ljava/lang/String;