public class S0EPacketSpawnObject extends java.lang.Object implements Packet<INetHandlerPlayClient>
Modifier and Type | Field and Description |
---|---|
private int |
entityId |
private int |
field_149020_k |
private int |
pitch |
private int |
speedX |
private int |
speedY |
private int |
speedZ |
private int |
type |
private int |
x |
private int |
y |
private int |
yaw |
private int |
z |
Constructor and Description |
---|
S0EPacketSpawnObject() |
S0EPacketSpawnObject(Entity entityIn,
int typeIn) |
S0EPacketSpawnObject(Entity entityIn,
int typeIn,
int p_i45166_3_) |
Modifier and Type | Method and Description |
---|---|
void |
func_149002_g(int p_149002_1_) |
int |
func_149009_m() |
int |
getEntityID() |
int |
getPitch() |
int |
getSpeedX() |
int |
getSpeedY() |
int |
getSpeedZ() |
int |
getType() |
int |
getX() |
int |
getY() |
int |
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 |
setSpeedX(int newSpeedX) |
void |
setSpeedY(int newSpeedY) |
void |
setSpeedZ(int newSpeedZ) |
void |
setX(int newX) |
void |
setY(int newY) |
void |
setZ(int newZ) |
void |
writePacketData(PacketBuffer buf)
Writes the raw packet data to the data stream.
|
private int entityId
private int x
private int y
private int z
private int speedX
private int speedY
private int speedZ
private int pitch
private int yaw
private int type
private int field_149020_k
public S0EPacketSpawnObject()
public S0EPacketSpawnObject(Entity entityIn, int typeIn)
public S0EPacketSpawnObject(Entity entityIn, int typeIn, int p_i45166_3_)
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 int getEntityID()
public int getX()
public int getY()
public int getZ()
public int getSpeedX()
public int getSpeedY()
public int getSpeedZ()
public int getPitch()
public int getYaw()
public int getType()
public int func_149009_m()
public void setX(int newX)
public void setY(int newY)
public void setZ(int newZ)
public void setSpeedX(int newSpeedX)
public void setSpeedY(int newSpeedY)
public void setSpeedZ(int newSpeedZ)
public void func_149002_g(int p_149002_1_)