public class SPacketSpawnObject extends java.lang.Object implements Packet<INetHandlerPlayClient>
Constructor and Description |
---|
SPacketSpawnObject() |
SPacketSpawnObject(Entity entityIn,
int typeIn) |
SPacketSpawnObject(Entity entityIn,
int typeIn,
int dataIn) |
SPacketSpawnObject(Entity entityIn,
int typeIn,
int dataIn,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
int |
getData() |
int |
getEntityID() |
int |
getPitch() |
int |
getSpeedX() |
int |
getSpeedY() |
int |
getSpeedZ() |
int |
getType() |
java.util.UUID |
getUniqueId() |
double |
getX() |
double |
getY() |
int |
getYaw() |
double |
getZ() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
setData(int dataIn) |
void |
setSpeedX(int newSpeedX) |
void |
setSpeedY(int newSpeedY) |
void |
setSpeedZ(int newSpeedZ) |
void |
writePacketData(PacketBuffer buf) |
public SPacketSpawnObject()
public SPacketSpawnObject(Entity entityIn, int typeIn)
public SPacketSpawnObject(Entity entityIn, int typeIn, int dataIn)
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 void setSpeedX(int newSpeedX)
public java.util.UUID getUniqueId()
public void setSpeedY(int newSpeedY)
public double getX()
public void setSpeedZ(int newSpeedZ)
public double getY()
public double getZ()
public int getSpeedX()
public int getSpeedY()
public int getSpeedZ()
public int getPitch()
public int getYaw()
public int getType()
public int getData()
public void setData(int dataIn)