public class PacketPlayOutAttachEntity extends OutPacket
Modifier and Type | Field and Description |
---|---|
protected int |
entityId |
protected boolean |
leash |
protected int |
vehicleId |
Constructor and Description |
---|
PacketPlayOutAttachEntity() |
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
|
boolean |
isLeashed() |
int |
vehicleId() |
decode, direction, handleReceived, set
protected int entityId
protected int vehicleId
protected boolean leash
public PacketPlayOutAttachEntity()
Copyright © 2016. All rights reserved.