public class ServerSpawnObjectPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerSpawnObjectPacket(int entityId,
UUID uuid,
ObjectType type,
double x,
double y,
double z,
float yaw,
float pitch) |
ServerSpawnObjectPacket(int entityId,
UUID uuid,
ObjectType type,
double x,
double y,
double z,
float yaw,
float pitch,
double motX,
double motY,
double motZ) |
ServerSpawnObjectPacket(int entityId,
UUID uuid,
ObjectType type,
ObjectData data,
double x,
double y,
double z,
float yaw,
float pitch) |
ServerSpawnObjectPacket(int entityId,
UUID uuid,
ObjectType type,
ObjectData data,
double x,
double y,
double z,
float yaw,
float pitch,
double motX,
double motY,
double motZ) |
| Modifier and Type | Method and Description |
|---|---|
ObjectData |
getData() |
int |
getEntityId() |
double |
getMotionX() |
double |
getMotionY() |
double |
getMotionZ() |
float |
getPitch() |
ObjectType |
getType() |
UUID |
getUUID() |
double |
getX() |
double |
getY() |
float |
getYaw() |
double |
getZ() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerSpawnObjectPacket(int entityId,
UUID uuid,
ObjectType type,
double x,
double y,
double z,
float yaw,
float pitch)
public ServerSpawnObjectPacket(int entityId,
UUID uuid,
ObjectType type,
ObjectData data,
double x,
double y,
double z,
float yaw,
float pitch)
public ServerSpawnObjectPacket(int entityId,
UUID uuid,
ObjectType type,
double x,
double y,
double z,
float yaw,
float pitch,
double motX,
double motY,
double motZ)
public ServerSpawnObjectPacket(int entityId,
UUID uuid,
ObjectType type,
ObjectData data,
double x,
double y,
double z,
float yaw,
float pitch,
double motX,
double motY,
double motZ)
public int getEntityId()
public UUID getUUID()
public ObjectType getType()
public ObjectData getData()
public double getX()
public double getY()
public double getZ()
public float getYaw()
public float getPitch()
public double getMotionX()
public double getMotionY()
public double getMotionZ()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.