public class ServerSpawnMobPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerSpawnMobPacket(int entityId,
UUID uuid,
MobType type,
double x,
double y,
double z,
float yaw,
float pitch,
float headYaw,
double motX,
double motY,
double motZ,
EntityMetadata[] metadata) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEntityId() |
float |
getHeadYaw() |
EntityMetadata[] |
getMetadata() |
double |
getMotionX() |
double |
getMotionY() |
double |
getMotionZ() |
float |
getPitch() |
MobType |
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 ServerSpawnMobPacket(int entityId,
UUID uuid,
MobType type,
double x,
double y,
double z,
float yaw,
float pitch,
float headYaw,
double motX,
double motY,
double motZ,
EntityMetadata[] metadata)
public int getEntityId()
public UUID getUUID()
public MobType getType()
public double getX()
public double getY()
public double getZ()
public float getYaw()
public float getPitch()
public float getHeadYaw()
public double getMotionX()
public double getMotionY()
public double getMotionZ()
public EntityMetadata[] getMetadata()
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.