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 ra$b
intermediary net/minecraft/class_2703$class_2705
named net/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry
  • Field Details

    • latency

      private final int latency
      Mappings:
      Namespace Name Mixin selector
      official b Lra$b;b:I
      intermediary field_12378 Lnet/minecraft/class_2703$class_2705;field_12378:I
      named latency Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;latency:I
    • gameMode

      private final GameMode gameMode
      Mappings:
      Namespace Name Mixin selector
      official c Lra$b;c:Lbts;
      intermediary field_12379 Lnet/minecraft/class_2703$class_2705;field_12379:Lnet/minecraft/class_1934;
      named gameMode Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;gameMode:Lnet/minecraft/world/GameMode;
    • profile

      private final com.mojang.authlib.GameProfile profile
      Mappings:
      Namespace Name Mixin selector
      official d Lra$b;d:Lcom/mojang/authlib/GameProfile;
      intermediary field_12380 Lnet/minecraft/class_2703$class_2705;field_12380: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 Lra$b;e:Loi;
      intermediary field_12377 Lnet/minecraft/class_2703$class_2705;field_12377:Lnet/minecraft/class_2561;
      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, GameMode gameMode, @Nullable Text displayName)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lra$b;<init>(Lra;Lcom/mojang/authlib/GameProfile;ILbts;Loi;)V
      intermediary <init> Lnet/minecraft/class_2703$class_2705;<init>(Lnet/minecraft/class_2703;Lcom/mojang/authlib/GameProfile;ILnet/minecraft/class_1934;Lnet/minecraft/class_2561;)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/GameMode;Lnet/minecraft/text/Text;)V
  • Method Details

    • getProfile

      public com.mojang.authlib.GameProfile getProfile()
      Mappings:
      Namespace Name Mixin selector
      official a Lra$b;a()Lcom/mojang/authlib/GameProfile;
      intermediary method_11726 Lnet/minecraft/class_2703$class_2705;method_11726()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 Lra$b;b()I
      intermediary method_11727 Lnet/minecraft/class_2703$class_2705;method_11727()I
      named getLatency Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;getLatency()I
    • getGameMode

      public GameMode getGameMode()
      Mappings:
      Namespace Name Mixin selector
      official c Lra$b;c()Lbts;
      intermediary method_11725 Lnet/minecraft/class_2703$class_2705;method_11725()Lnet/minecraft/class_1934;
      named getGameMode Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;getGameMode()Lnet/minecraft/world/GameMode;
    • getDisplayName

      @Nullable public Text getDisplayName()
      Mappings:
      Namespace Name Mixin selector
      official d Lra$b;d()Loi;
      intermediary method_11724 Lnet/minecraft/class_2703$class_2705;method_11724()Lnet/minecraft/class_2561;
      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 Lra$b;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_2703$class_2705;toString()Ljava/lang/String;
      named toString Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;toString()Ljava/lang/String;