类 PlayerListS2CPacket.Entry

  • 封闭类:
    PlayerListS2CPacket

    public static class PlayerListS2CPacket.Entry
    extends Object
    Mappings:
    Namespace Name
    official ri$b
    intermediary net/minecraft/class_2703$class_2705
    named net/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry
    • 字段详细资料

      • latency

        private final int latency
        Mappings:
        Namespace Name Mixin selector
        official a Lri$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 Lri$b;b:Lbvo;
        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 Lri$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 Lri$b;d:Lon;
        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;
    • 构造器详细资料

      • 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> Lri$b;<init>(Lcom/mojang/authlib/GameProfile;ILbvo;Lon;)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
    • 方法详细资料

      • getProfile

        public com.mojang.authlib.GameProfile getProfile()
        Mappings:
        Namespace Name Mixin selector
        official a Lri$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 Lri$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 Lri$b;c()Lbvo;
        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 Lri$b;d()Lon;
        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()
        覆盖:
        toString 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official toString Lri$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;