public class ServerSpawnGlobalEntityPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerSpawnGlobalEntityPacket(int entityId,
GlobalEntityType type,
double x,
double y,
double z) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEntityId() |
GlobalEntityType |
getType() |
double |
getX() |
double |
getY() |
double |
getZ() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerSpawnGlobalEntityPacket(int entityId,
GlobalEntityType type,
double x,
double y,
double z)
public int getEntityId()
public GlobalEntityType getType()
public double getX()
public double getY()
public double getZ()
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.