Class SPlayerListItemPacket
- java.lang.Object
-
- net.minecraft.network.play.server.SPlayerListItemPacket
-
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
public class SPlayerListItemPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SPlayerListItemPacket.Action
class
SPlayerListItemPacket.AddPlayerData
-
Field Summary
Fields Modifier and Type Field Description private SPlayerListItemPacket.Action
action
private java.util.List<SPlayerListItemPacket.AddPlayerData>
entries
-
Constructor Summary
Constructors Constructor Description SPlayerListItemPacket()
SPlayerListItemPacket(SPlayerListItemPacket.Action p_i46930_1_, java.lang.Iterable<ServerPlayerEntity> p_i46930_2_)
SPlayerListItemPacket(SPlayerListItemPacket.Action p_i46929_1_, ServerPlayerEntity... p_i46929_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SPlayerListItemPacket.Action
getAction()
java.util.List<SPlayerListItemPacket.AddPlayerData>
getEntries()
void
handle(IClientPlayNetHandler p_148833_1_)
void
read(PacketBuffer p_148837_1_)
java.lang.String
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 Detail
-
action
private SPlayerListItemPacket.Action action
-
entries
private final java.util.List<SPlayerListItemPacket.AddPlayerData> entries
-
-
Constructor Detail
-
SPlayerListItemPacket
public SPlayerListItemPacket()
-
SPlayerListItemPacket
public SPlayerListItemPacket(SPlayerListItemPacket.Action p_i46929_1_, ServerPlayerEntity... p_i46929_2_)
-
SPlayerListItemPacket
public SPlayerListItemPacket(SPlayerListItemPacket.Action p_i46930_1_, java.lang.Iterable<ServerPlayerEntity> p_i46930_2_)
-
-
Method Detail
-
read
public void read(PacketBuffer p_148837_1_) throws java.io.IOException
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
write
public void write(PacketBuffer p_148840_1_) throws java.io.IOException
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
handle
public void handle(IClientPlayNetHandler p_148833_1_)
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getEntries
public java.util.List<SPlayerListItemPacket.AddPlayerData> getEntries()
-
getAction
public SPlayerListItemPacket.Action getAction()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-