public class SPacketEntityEffect extends java.lang.Object implements Packet<INetHandlerPlayClient>
| Constructor and Description | 
|---|
SPacketEntityEffect()  | 
SPacketEntityEffect(int entityIdIn,
                   PotionEffect effect)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
doesShowParticles()  | 
byte | 
getAmplifier()  | 
int | 
getDuration()  | 
byte | 
getEffectId()  | 
int | 
getEntityId()  | 
boolean | 
getIsAmbient()  | 
boolean | 
isMaxDuration()  | 
void | 
processPacket(INetHandlerPlayClient handler)  | 
void | 
readPacketData(PacketBuffer buf)  | 
void | 
writePacketData(PacketBuffer buf)  | 
public SPacketEntityEffect()
public SPacketEntityEffect(int entityIdIn,
                           PotionEffect effect)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData in interface Packet<INetHandlerPlayClient>java.io.IOExceptionpublic void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData in interface Packet<INetHandlerPlayClient>java.io.IOExceptionpublic boolean isMaxDuration()
public void processPacket(INetHandlerPlayClient handler)
processPacket in interface Packet<INetHandlerPlayClient>public int getEntityId()
public byte getEffectId()
public byte getAmplifier()
public int getDuration()
public boolean doesShowParticles()
public boolean getIsAmbient()