Class PlayerListS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.PlayerListS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/PlayerListS2CPacket
intermediary net/minecraft/class_2703
official adz
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static final record
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final EnumSet
<PlayerListS2CPacket.Action> static final PacketCodec
<RegistryByteBuf, PlayerListS2CPacket> private final List
<PlayerListS2CPacket.Entry> -
Constructor Summary
ModifierConstructorDescriptionPlayerListS2CPacket
(EnumSet<PlayerListS2CPacket.Action> actions, Collection<ServerPlayerEntity> players) PlayerListS2CPacket
(PlayerListS2CPacket.Action action, ServerPlayerEntity player) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) static PlayerListS2CPacket
entryFromPlayer
(Collection<ServerPlayerEntity> players) toString()
private void
write
(RegistryByteBuf 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, transitionsNetworkState
-
Field Details
-
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
Ladz;a:Lyw;
-
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
Ladz;b:Ljava/util/EnumSet;
-
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
Ladz;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>
Ladz;<init>(Ljava/util/EnumSet;Ljava/util/Collection;)V
-
PlayerListS2CPacket
- 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>
Ladz;<init>(Ladz$a;Laqu;)V
-
PlayerListS2CPacket
- 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>
Ladz;<init>(Lwj;)V
-
-
Method Details
-
entryFromPlayer
- 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
Ladz;a(Ljava/util/Collection;)Ladz;
-
write
- 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
Ladz;a(Lwj;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<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
Lzf;a()Lzh;
-
apply
- Specified by:
apply
in interfacePacket<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
Ladz;a(Labt;)V
-
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
Ladz;b()Ljava/util/EnumSet;
-
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
Ladz;e()Ljava/util/List;
-
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
Ladz;f()Ljava/util/List;
-
toString
-