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 classSPlayerListItemPacket.ActionclassSPlayerListItemPacket.AddPlayerData
-
Field Summary
Fields Modifier and Type Field Description private SPlayerListItemPacket.Actionactionprivate 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.ActiongetAction()java.util.List<SPlayerListItemPacket.AddPlayerData>getEntries()voidhandle(IClientPlayNetHandler p_148833_1_)voidread(PacketBuffer p_148837_1_)java.lang.StringtoString()voidwrite(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:
readin interfaceIPacket<IClientPlayNetHandler>- Throws:
java.io.IOException
-
write
public void write(PacketBuffer p_148840_1_) throws java.io.IOException
- Specified by:
writein interfaceIPacket<IClientPlayNetHandler>- Throws:
java.io.IOException
-
handle
public void handle(IClientPlayNetHandler p_148833_1_)
- Specified by:
handlein interfaceIPacket<IClientPlayNetHandler>
-
getEntries
public java.util.List<SPlayerListItemPacket.AddPlayerData> getEntries()
-
getAction
public SPlayerListItemPacket.Action getAction()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-