public class PacketPlayOutSpawnGlobalEntity extends OutPacket
| Modifier and Type | Field and Description |
|---|---|
protected int |
entityId |
protected Position |
loc |
| Constructor and Description |
|---|
PacketPlayOutSpawnGlobalEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(ByteBuf buf)
Serialized the data held by this packet into a buffer
|
int |
entityId() |
int |
id()
Gets the ID of this packet, according to the protocol specification
|
Position |
location() |
decode, direction, handleReceived, setpublic PacketPlayOutSpawnGlobalEntity()
Copyright © 2016. All rights reserved.