Class PlayerListS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.PlayerListS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class PlayerListS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/PlayerListS2CPacket
intermediary net/minecraft/class_2703
official aea
  • Field Details

    • CODEC

      public static final PacketCodec<RegistryByteBuf,PlayerListS2CPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47955 Lnet/minecraft/class_2703;field_47955:Lnet/minecraft/class_9139;
      official a Laea;a:Lyx;
    • actions

      private final EnumSet<PlayerListS2CPacket.Action> actions
      Mappings:
      Namespace Name Mixin selector
      named actions Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;actions:Ljava/util/EnumSet;
      intermediary field_40698 Lnet/minecraft/class_2703;field_40698:Ljava/util/EnumSet;
      official b Laea;b:Ljava/util/EnumSet;
    • entries

      private final List<PlayerListS2CPacket.Entry> entries
      Mappings:
      Namespace Name Mixin selector
      named entries Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;entries:Ljava/util/List;
      intermediary field_12369 Lnet/minecraft/class_2703;field_12369:Ljava/util/List;
      official c Laea;c:Ljava/util/List;
  • Constructor Details

    • PlayerListS2CPacket

      public PlayerListS2CPacket(EnumSet<PlayerListS2CPacket.Action> actions, Collection<ServerPlayerEntity> players)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;<init>(Ljava/util/EnumSet;Ljava/util/Collection;)V
      intermediary <init> Lnet/minecraft/class_2703;<init>(Ljava/util/EnumSet;Ljava/util/Collection;)V
      official <init> Laea;<init>(Ljava/util/EnumSet;Ljava/util/Collection;)V
    • PlayerListS2CPacket

      public PlayerListS2CPacket(PlayerListS2CPacket.Action action, ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;<init>(Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;Lnet/minecraft/server/network/ServerPlayerEntity;)V
      intermediary <init> Lnet/minecraft/class_2703;<init>(Lnet/minecraft/class_2703$class_5893;Lnet/minecraft/class_3222;)V
      official <init> Laea;<init>(Laea$a;Laqv;)V
    • PlayerListS2CPacket

      private PlayerListS2CPacket(RegistryByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;<init>(Lnet/minecraft/network/RegistryByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2703;<init>(Lnet/minecraft/class_9129;)V
      official <init> Laea;<init>(Lwk;)V
  • Method Details

    • entryFromPlayer

      public static PlayerListS2CPacket entryFromPlayer(Collection<ServerPlayerEntity> players)
      Mappings:
      Namespace Name Mixin selector
      named entryFromPlayer Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;entryFromPlayer(Ljava/util/Collection;)Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;
      intermediary method_43886 Lnet/minecraft/class_2703;method_43886(Ljava/util/Collection;)Lnet/minecraft/class_2703;
      official a Laea;a(Ljava/util/Collection;)Laea;
    • write

      private void write(RegistryByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;write(Lnet/minecraft/network/RegistryByteBuf;)V
      intermediary method_55902 Lnet/minecraft/class_2703;method_55902(Lnet/minecraft/class_9129;)V
      official a Laea;a(Lwk;)V
    • getPacketId

      public PacketType<PlayerListS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzg;a()Lzi;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11721 Lnet/minecraft/class_2703;method_11721(Lnet/minecraft/class_2602;)V
      official a Laea;a(Labu;)V
    • getActions

      public EnumSet<PlayerListS2CPacket.Action> getActions()
      Mappings:
      Namespace Name Mixin selector
      named getActions Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;getActions()Ljava/util/EnumSet;
      intermediary method_46327 Lnet/minecraft/class_2703;method_46327()Ljava/util/EnumSet;
      official b Laea;b()Ljava/util/EnumSet;
    • getEntries

      public List<PlayerListS2CPacket.Entry> getEntries()
      Mappings:
      Namespace Name Mixin selector
      named getEntries Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;getEntries()Ljava/util/List;
      intermediary method_46329 Lnet/minecraft/class_2703;method_46329()Ljava/util/List;
      official e Laea;e()Ljava/util/List;
    • getPlayerAdditionEntries

      public List<PlayerListS2CPacket.Entry> getPlayerAdditionEntries()
      Mappings:
      Namespace Name Mixin selector
      named getPlayerAdditionEntries Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;getPlayerAdditionEntries()Ljava/util/List;
      intermediary method_46330 Lnet/minecraft/class_2703;method_46330()Ljava/util/List;
      official f Laea;f()Ljava/util/List;
    • toString

      public String toString()
      Overrides:
      toString in class Object