Class PlayerListS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.PlayerListS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official xl
intermediary net/minecraft/class_2703
named net/minecraft/network/packet/s2c/play/PlayerListS2CPacket
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static final record
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final EnumSet<PlayerListS2CPacket.Action>
private final List<PlayerListS2CPacket.Entry>
-
Constructor Summary
ConstructorDescriptionPlayerListS2CPacket
(EnumSet<PlayerListS2CPacket.Action> actions, Collection<ServerPlayerEntity> players) PlayerListS2CPacket
(PlayerListS2CPacket.Action action, ServerPlayerEntity player) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) static PlayerListS2CPacket
entryFromPlayer
(Collection<ServerPlayerEntity> players) toString()
void
write
(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable
-
Field Details
-
actions
- Mappings:
Namespace Name Mixin selector official a
Lxl;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
- Mappings:
Namespace Name Mixin selector official b
Lxl;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>
Lxl;<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
- Mappings:
Namespace Name Mixin selector official <init>
Lxl;<init>(Lxl$a;Laiq;)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
- Mappings:
Namespace Name Mixin selector official <init>
Lxl;<init>(Lss;)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
- Mappings:
Namespace Name Mixin selector official a
Lxl;a(Ljava/util/Collection;)Lxl;
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
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lvb;a(Lss;)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
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lxl;a(Lve;)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
- Mappings:
Namespace Name Mixin selector official a
Lxl;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
- Mappings:
Namespace Name Mixin selector official c
Lxl;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
- Mappings:
Namespace Name Mixin selector official d
Lxl;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
-