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