public class SEntityVelocityPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
| Modifier and Type | Field and Description |
|---|---|
private int |
entityID |
private int |
motionX |
private int |
motionY |
private int |
motionZ |
| Constructor and Description |
|---|
SEntityVelocityPacket() |
SEntityVelocityPacket(Entity entityIn) |
SEntityVelocityPacket(int p_i50764_1_,
Vec3d p_i50764_2_) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEntityID() |
int |
getMotionX() |
int |
getMotionY() |
int |
getMotionZ() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldSkipErrorsprivate int entityID
private int motionX
private int motionY
private int motionZ
public SEntityVelocityPacket()
public SEntityVelocityPacket(Entity entityIn)
public SEntityVelocityPacket(int p_i50764_1_,
Vec3d p_i50764_2_)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData in interface IPacket<IClientPlayNetHandler>java.io.IOExceptionpublic void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData in interface IPacket<IClientPlayNetHandler>java.io.IOExceptionpublic void processPacket(IClientPlayNetHandler handler)
processPacket in interface IPacket<IClientPlayNetHandler>public int getEntityID()
public int getMotionX()
public int getMotionY()
public int getMotionZ()