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