public class ServerEntityEffectPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerEntityEffectPacket(int entityId,
Effect effect,
int amplifier,
int duration,
boolean ambient,
boolean showParticles) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAmplifier() |
int |
getDuration() |
Effect |
getEffect() |
int |
getEntityId() |
boolean |
getShowParticles() |
boolean |
isAmbient() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerEntityEffectPacket(int entityId,
Effect effect,
int amplifier,
int duration,
boolean ambient,
boolean showParticles)
public int getEntityId()
public Effect getEffect()
public int getAmplifier()
public int getDuration()
public boolean isAmbient()
public boolean getShowParticles()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.