Class PlayerListS2CPacket.Entry

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

public static class PlayerListS2CPacket.Entry extends Object
Mappings:
Namespace Name
official sx$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 a Lsx$b;a: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 b Lsx$b;b:Lcaa;
      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 c Lsx$b;c: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

      @Nullable private final @Nullable Text displayName
      Mappings:
      Namespace Name Mixin selector
      official d Lsx$b;d:Lpz;
      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, @Nullable @Nullable GameMode gameMode, @Nullable @Nullable Text displayName)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsx$b;<init>(Lcom/mojang/authlib/GameProfile;ILcaa;Lpz;)V
      intermediary <init> Lnet/minecraft/class_2703$class_2705;<init>(Lcom/mojang/authlib/GameProfile;ILnet/minecraft/class_1934;Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;<init>(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 Lsx$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 Lsx$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 Lsx$b;c()Lcaa;
      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 @Nullable Text getDisplayName()
      Mappings:
      Namespace Name Mixin selector
      official d Lsx$b;d()Lpz;
      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