public class S38PacketPlayerListItem extends java.lang.Object implements Packet<INetHandlerPlayClient>
Modifier and Type | Class and Description |
---|---|
static class |
S38PacketPlayerListItem.Action |
class |
S38PacketPlayerListItem.AddPlayerData |
Modifier and Type | Field and Description |
---|---|
private S38PacketPlayerListItem.Action |
action |
private java.util.List<S38PacketPlayerListItem.AddPlayerData> |
players |
Constructor and Description |
---|
S38PacketPlayerListItem() |
S38PacketPlayerListItem(S38PacketPlayerListItem.Action actionIn,
EntityPlayerMP... players) |
S38PacketPlayerListItem(S38PacketPlayerListItem.Action actionIn,
java.lang.Iterable<EntityPlayerMP> players) |
Modifier and Type | Method and Description |
---|---|
java.util.List<S38PacketPlayerListItem.AddPlayerData> |
func_179767_a() |
S38PacketPlayerListItem.Action |
func_179768_b() |
void |
processPacket(INetHandlerPlayClient handler)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(PacketBuffer buf)
Reads the raw packet data from the data stream.
|
java.lang.String |
toString() |
void |
writePacketData(PacketBuffer buf)
Writes the raw packet data to the data stream.
|
private S38PacketPlayerListItem.Action action
private final java.util.List<S38PacketPlayerListItem.AddPlayerData> players
public S38PacketPlayerListItem()
public S38PacketPlayerListItem(S38PacketPlayerListItem.Action actionIn, EntityPlayerMP... players)
public S38PacketPlayerListItem(S38PacketPlayerListItem.Action actionIn, java.lang.Iterable<EntityPlayerMP> players)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void processPacket(INetHandlerPlayClient handler)
processPacket
in interface Packet<INetHandlerPlayClient>
public java.util.List<S38PacketPlayerListItem.AddPlayerData> func_179767_a()
public S38PacketPlayerListItem.Action func_179768_b()
public java.lang.String toString()
toString
in class java.lang.Object