Class SPlayEntityEffectPacket
java.lang.Object
net.minecraft.network.play.server.SPlayEntityEffectPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Field Summary
Modifier and TypeFieldDescriptionprivate byte
private int
private byte
private int
private byte
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
byte
int
byte
int
void
handle
(IClientPlayNetHandler p_148833_1_) boolean
boolean
boolean
void
read
(PacketBuffer p_148837_1_) void
write
(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
entityId
private int entityId -
effectId
private byte effectId -
effectAmplifier
private byte effectAmplifier -
effectDurationTicks
private int effectDurationTicks -
flags
private byte flags
-
-
Constructor Details
-
SPlayEntityEffectPacket
public SPlayEntityEffectPacket() -
SPlayEntityEffectPacket
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
isSuperLongDuration
public boolean isSuperLongDuration() -
handle
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getEntityId
public int getEntityId() -
getEffectId
public byte getEffectId() -
getEffectAmplifier
public byte getEffectAmplifier() -
getEffectDurationTicks
public int getEffectDurationTicks() -
isEffectVisible
public boolean isEffectVisible() -
isEffectAmbient
public boolean isEffectAmbient() -
effectShowsIcon
public boolean effectShowsIcon()
-