public class NPacketPlayOutEntityEffect extends Object implements NPacketPlayOut
Modifier and Type | Field and Description |
---|---|
byte |
amplifier |
int |
duration |
int |
entityId |
byte |
flags
Warn: the meaning of this variable change over the time.
|
PotionEffectType |
type |
Constructor and Description |
---|
NPacketPlayOutEntityEffect() |
NPacketPlayOutEntityEffect(int entityId,
int typeId,
byte amplifier,
int duration,
byte flags) |
Modifier and Type | Method and Description |
---|---|
PacketType |
getPacketType() |
boolean |
isMaxDuration() |
public int entityId
public PotionEffectType type
public byte amplifier
public int duration
public byte flags
public NPacketPlayOutEntityEffect()
public NPacketPlayOutEntityEffect(int entityId, int typeId, byte amplifier, int duration, byte flags)
public boolean isMaxDuration()
public PacketType getPacketType()
getPacketType
in interface NPacket