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
official wy
intermediary net/minecraft/class_2703
named net/minecraft/network/packet/s2c/play/PlayerListS2CPacket
  • Field Details

    • actions

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

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

    • PlayerListS2CPacket

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

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

      public PlayerListS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwy;<init>(Lsf;)V
      intermediary <init> Lnet/minecraft/class_2703;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • entryFromPlayer

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

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Luo;a(Lsf;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

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

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

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

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

      public String toString()
      Overrides:
      toString in class Object