public class S1DPacketEntityEffect extends java.lang.Object implements Packet<INetHandlerPlayClient>
Modifier and Type | Field and Description |
---|---|
private byte |
amplifier |
private int |
duration |
private byte |
effectId |
private int |
entityId |
private byte |
hideParticles |
Constructor and Description |
---|
S1DPacketEntityEffect() |
S1DPacketEntityEffect(int entityIdIn,
PotionEffect effect) |
Modifier and Type | Method and Description |
---|---|
boolean |
func_149429_c() |
boolean |
func_179707_f() |
byte |
getAmplifier() |
int |
getDuration() |
byte |
getEffectId() |
int |
getEntityId() |
void |
processPacket(INetHandlerPlayClient handler)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(PacketBuffer buf)
Reads the raw packet data from the data stream.
|
void |
writePacketData(PacketBuffer buf)
Writes the raw packet data to the data stream.
|
private int entityId
private byte effectId
private byte amplifier
private int duration
private byte hideParticles
public S1DPacketEntityEffect()
public S1DPacketEntityEffect(int entityIdIn, PotionEffect effect)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public boolean func_149429_c()
public void processPacket(INetHandlerPlayClient handler)
processPacket
in interface Packet<INetHandlerPlayClient>
public int getEntityId()
public byte getEffectId()
public byte getAmplifier()
public int getDuration()
public boolean func_179707_f()