public class MobEffectPacket extends BedrockPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
MobEffectPacket.Event |
| Constructor and Description |
|---|
MobEffectPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
int |
getAmplifier() |
int |
getDuration() |
int |
getEffectId() |
MobEffectPacket.Event |
getEvent() |
long |
getRuntimeEntityId() |
boolean |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
boolean |
isParticles() |
void |
setAmplifier(int amplifier) |
void |
setDuration(int duration) |
void |
setEffectId(int effectId) |
void |
setEvent(MobEffectPacket.Event event) |
void |
setParticles(boolean particles) |
void |
setRuntimeEntityId(long runtimeEntityId) |
String |
toString() |
getHeader, setHeaderpublic final boolean handle(BedrockPacketHandler handler)
handle in class BedrockPacketpublic long getRuntimeEntityId()
public MobEffectPacket.Event getEvent()
public int getEffectId()
public int getAmplifier()
public boolean isParticles()
public int getDuration()
public void setRuntimeEntityId(long runtimeEntityId)
public void setEvent(MobEffectPacket.Event event)
public void setEffectId(int effectId)
public void setAmplifier(int amplifier)
public void setParticles(boolean particles)
public void setDuration(int duration)
protected boolean canEqual(Object other)
Copyright © 2018–2019 NukkitX. All rights reserved.