public class SSpawnObjectPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private int |
data |
private int |
entityId |
private int |
pitch |
private int |
speedX |
private int |
speedY |
private int |
speedZ |
private EntityType<?> |
type |
private java.util.UUID |
uniqueId |
private double |
x |
private double |
y |
private int |
yaw |
private double |
z |
Constructor and Description |
---|
SSpawnObjectPacket() |
SSpawnObjectPacket(Entity p_i50778_1_) |
SSpawnObjectPacket(Entity p_i50779_1_,
EntityType<?> p_i50779_2_,
int p_i50779_3_,
BlockPos p_i50779_4_) |
SSpawnObjectPacket(Entity entityIn,
int typeIn) |
SSpawnObjectPacket(int p_i50777_1_,
java.util.UUID p_i50777_2_,
double p_i50777_3_,
double p_i50777_5_,
double p_i50777_7_,
float p_i50777_9_,
float p_i50777_10_,
EntityType<?> p_i50777_11_,
int p_i50777_12_,
Vec3d p_i50777_13_) |
Modifier and Type | Method and Description |
---|---|
double |
func_218692_i() |
double |
func_218693_g() |
double |
func_218695_h() |
int |
getData() |
int |
getEntityID() |
int |
getPitch() |
EntityType<?> |
getType() |
java.util.UUID |
getUniqueId() |
double |
getX() |
double |
getY() |
int |
getYaw() |
double |
getZ() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private int entityId
private java.util.UUID uniqueId
private double x
private double y
private double z
private int speedX
private int speedY
private int speedZ
private int pitch
private int yaw
private EntityType<?> type
private int data
public SSpawnObjectPacket()
public SSpawnObjectPacket(int p_i50777_1_, java.util.UUID p_i50777_2_, double p_i50777_3_, double p_i50777_5_, double p_i50777_7_, float p_i50777_9_, float p_i50777_10_, EntityType<?> p_i50777_11_, int p_i50777_12_, Vec3d p_i50777_13_)
public SSpawnObjectPacket(Entity p_i50778_1_)
public SSpawnObjectPacket(Entity entityIn, int typeIn)
public SSpawnObjectPacket(Entity p_i50779_1_, EntityType<?> p_i50779_2_, int p_i50779_3_, BlockPos p_i50779_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 int getEntityID()
public java.util.UUID getUniqueId()
public double getX()
public double getY()
public double getZ()
public double func_218693_g()
public double func_218695_h()
public double func_218692_i()
public int getPitch()
public int getYaw()
public EntityType<?> getType()
public int getData()