Class SPlayerListItemPacket
java.lang.Object
net.minecraft.network.play.server.SPlayerListItemPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
class
-
Field Summary
Modifier and TypeFieldDescriptionprivate SPlayerListItemPacket.Action
private final List<SPlayerListItemPacket.AddPlayerData>
-
Constructor Summary
ConstructorDescriptionSPlayerListItemPacket
(SPlayerListItemPacket.Action p_i46930_1_, Iterable<ServerPlayerEntity> p_i46930_2_) SPlayerListItemPacket
(SPlayerListItemPacket.Action p_i46929_1_, ServerPlayerEntity... p_i46929_2_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(IClientPlayNetHandler p_148833_1_) void
read
(PacketBuffer p_148837_1_) toString()
void
write
(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
action
-
entries
-
-
Constructor Details
-
SPlayerListItemPacket
public SPlayerListItemPacket() -
SPlayerListItemPacket
public SPlayerListItemPacket(SPlayerListItemPacket.Action p_i46929_1_, ServerPlayerEntity... p_i46929_2_) -
SPlayerListItemPacket
public SPlayerListItemPacket(SPlayerListItemPacket.Action p_i46930_1_, Iterable<ServerPlayerEntity> p_i46930_2_)
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getEntries
-
getAction
-
toString
-