public class S0CPacketSpawnPlayer extends java.lang.Object implements Packet<INetHandlerPlayClient>
Modifier and Type | Field and Description |
---|---|
private int |
currentItem |
private int |
entityId |
private java.util.List<DataWatcher.WatchableObject> |
field_148958_j |
private byte |
pitch |
private java.util.UUID |
playerId |
private DataWatcher |
watcher |
private int |
x |
private int |
y |
private byte |
yaw |
private int |
z |
Constructor and Description |
---|
S0CPacketSpawnPlayer() |
S0CPacketSpawnPlayer(EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
java.util.List<DataWatcher.WatchableObject> |
func_148944_c() |
int |
getCurrentItemID() |
int |
getEntityID() |
byte |
getPitch() |
java.util.UUID |
getPlayer() |
int |
getX() |
int |
getY() |
byte |
getYaw() |
int |
getZ() |
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.
|
void |
writePacketData(PacketBuffer buf)
Writes the raw packet data to the data stream.
|
private int entityId
private java.util.UUID playerId
private int x
private int y
private int z
private byte yaw
private byte pitch
private int currentItem
private DataWatcher watcher
private java.util.List<DataWatcher.WatchableObject> field_148958_j
public S0CPacketSpawnPlayer()
public S0CPacketSpawnPlayer(EntityPlayer player)
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<DataWatcher.WatchableObject> func_148944_c()
public int getEntityID()
public java.util.UUID getPlayer()
public int getX()
public int getY()
public int getZ()
public byte getYaw()
public byte getPitch()
public int getCurrentItemID()