public class PacketPlayOutEffect extends OutPacket
Modifier and Type | Field and Description |
---|---|
protected int |
data |
protected int |
effectId |
protected Position |
loc |
protected boolean |
playSound |
Constructor and Description |
---|
PacketPlayOutEffect() |
Modifier and Type | Method and Description |
---|---|
int |
data() |
int |
effectId() |
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
|
boolean |
isPlaySound() |
Position |
location() |
decode, direction, handleReceived, set
protected int effectId
protected int data
protected boolean playSound
public PacketPlayOutEffect()
public int id()
Packet
public int effectId()
public int data()
public boolean isPlaySound()
Copyright © 2016. All rights reserved.