public class S1DPacketEntityEffect extends java.lang.Object implements Packet<INetHandlerPlayClient>
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.
|
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()