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 ra
intermediary net/minecraft/class_2703
named net/minecraft/network/packet/s2c/play/PlayerListS2CPacket
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PlayerListS2CPacket.Action
class
PlayerListS2CPacket.Entry
-
Field Summary
Fields Modifier and Type Field Description private PlayerListS2CPacket.Action
action
private List<PlayerListS2CPacket.Entry>
entries
-
Constructor Summary
Constructors Constructor Description PlayerListS2CPacket()
PlayerListS2CPacket(PlayerListS2CPacket.Action action, Iterable<ServerPlayerEntity> iterable)
PlayerListS2CPacket(PlayerListS2CPacket.Action action, ServerPlayerEntity[] players)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
PlayerListS2CPacket.Action
getAction()
List<PlayerListS2CPacket.Entry>
getEntries()
void
read(PacketByteBuf buf)
String
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
isWritingErrorSkippable
-
Field Details
-
action
- Mappings:
Namespace Name Mixin selector official a
Lra;a:Lra$a;
intermediary field_12368
Lnet/minecraft/class_2703;field_12368:Lnet/minecraft/class_2703$class_2704;
named action
Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;action:Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;
-
entries
- Mappings:
Namespace Name Mixin selector official b
Lra;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() -
PlayerListS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lra;<init>(Lra$a;[Laaw;)V
intermediary <init>
Lnet/minecraft/class_2703;<init>(Lnet/minecraft/class_2703$class_2704;[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(PlayerListS2CPacket.Action action, Iterable<ServerPlayerEntity> iterable)- Mappings:
Namespace Name Mixin selector official <init>
Lra;<init>(Lra$a;Ljava/lang/Iterable;)V
intermediary <init>
Lnet/minecraft/class_2703;<init>(Lnet/minecraft/class_2703$class_2704;Ljava/lang/Iterable;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;<init>(Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;Ljava/lang/Iterable;)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lra;a(Lpd;)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
-
getEntries
- Mappings:
Namespace Name Mixin selector official b
Lra;b()Ljava/util/List;
intermediary method_11722
Lnet/minecraft/class_2703;method_11722()Ljava/util/List;
named getEntries
Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;getEntries()Ljava/util/List;
-
getAction
- Mappings:
Namespace Name Mixin selector official c
Lra;c()Lra$a;
intermediary method_11723
Lnet/minecraft/class_2703;method_11723()Lnet/minecraft/class_2703$class_2704;
named getAction
Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;getAction()Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;
-
toString
- Overrides:
toString
in classObject
- Mappings:
Namespace Name Mixin selector official toString
Lra;toString()Ljava/lang/String;
intermediary toString
Lnet/minecraft/class_2703;toString()Ljava/lang/String;
named toString
Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket;toString()Ljava/lang/String;
-