public class SEntityPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Class and Description |
---|---|
static class |
SEntityPacket.LookPacket |
static class |
SEntityPacket.MovePacket |
static class |
SEntityPacket.RelativeMovePacket |
Modifier and Type | Field and Description |
---|---|
protected int |
entityId |
protected boolean |
isMovePacket |
protected boolean |
onGround |
protected byte |
pitch |
protected short |
posX |
protected short |
posY |
protected short |
posZ |
protected boolean |
rotating |
protected byte |
yaw |
Constructor and Description |
---|
SEntityPacket() |
SEntityPacket(int entityIdIn) |
Modifier and Type | Method and Description |
---|---|
static long |
func_218743_a(double p_218743_0_) |
static Vec3d |
func_218744_a(long p_218744_0_,
long p_218744_2_,
long p_218744_4_) |
boolean |
func_229745_h_() |
Entity |
getEntity(World worldIn) |
boolean |
getOnGround() |
byte |
getPitch() |
short |
getX() |
short |
getY() |
byte |
getYaw() |
short |
getZ() |
boolean |
isRotating() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
java.lang.String |
toString() |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
shouldSkipErrors
protected int entityId
protected short posX
protected short posY
protected short posZ
protected byte yaw
protected byte pitch
protected boolean onGround
protected boolean rotating
protected boolean isMovePacket
public SEntityPacket()
public SEntityPacket(int entityIdIn)
public static long func_218743_a(double p_218743_0_)
public static Vec3d func_218744_a(long p_218744_0_, long p_218744_2_, long p_218744_4_)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void processPacket(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>
public java.lang.String toString()
toString
in class java.lang.Object
public short getX()
public short getY()
public short getZ()
public byte getYaw()
public byte getPitch()
public boolean isRotating()
public boolean func_229745_h_()
public boolean getOnGround()