Package net.md_5.bungee.protocol.packet
Class EntityEffect
java.lang.Object
net.md_5.bungee.protocol.DefinedPacket
net.md_5.bungee.protocol.packet.EntityEffect
Deprecated.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.EntityEffect(int entityId, int effectId, int amplifier, int duration, boolean hideParticles) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDeprecated.booleanDeprecated.intDeprecated.intDeprecated.intDeprecated.intDeprecated.voidhandle(AbstractPacketHandler handler) Deprecated.inthashCode()Deprecated.booleanDeprecated.voidread(io.netty.buffer.ByteBuf buf) Deprecated.voidsetAmplifier(int amplifier) Deprecated.voidsetDuration(int duration) Deprecated.voidsetEffectId(int effectId) Deprecated.voidsetEntityId(int entityId) Deprecated.voidsetHideParticles(boolean hideParticles) Deprecated.toString()Deprecated.voidwrite(io.netty.buffer.ByteBuf buf) Deprecated.Methods inherited from class net.md_5.bungee.protocol.DefinedPacket
expectedMaxLength, expectedMinLength, read, readArray, readArray, readEnumSet, readFixedBitSet, readProperties, readPublicKey, readString, readString, readStringArray, readTag, readUUID, readVarInt, readVarInt, readVarIntArray, readVarShort, toArray, write, writeArray, writeEnumSet, writeFixedBitSet, writeProperties, writePublicKey, writeString, writeString, writeStringArray, writeTag, writeUUID, writeVarInt, writeVarInt, writeVarShort
-
Constructor Details
-
EntityEffect
public EntityEffect()Deprecated. -
EntityEffect
public EntityEffect(int entityId, int effectId, int amplifier, int duration, boolean hideParticles) Deprecated.
-
-
Method Details
-
read
public void read(io.netty.buffer.ByteBuf buf) Deprecated.- Overrides:
readin classDefinedPacket
-
write
public void write(io.netty.buffer.ByteBuf buf) Deprecated.- Overrides:
writein classDefinedPacket
-
handle
Deprecated.- Specified by:
handlein classDefinedPacket- Throws:
Exception
-
getEntityId
public int getEntityId()Deprecated. -
getEffectId
public int getEffectId()Deprecated. -
getAmplifier
public int getAmplifier()Deprecated. -
getDuration
public int getDuration()Deprecated. -
isHideParticles
public boolean isHideParticles()Deprecated. -
setEntityId
public void setEntityId(int entityId) Deprecated. -
setEffectId
public void setEffectId(int effectId) Deprecated. -
setAmplifier
public void setAmplifier(int amplifier) Deprecated. -
setDuration
public void setDuration(int duration) Deprecated. -
setHideParticles
public void setHideParticles(boolean hideParticles) Deprecated. -
toString
Deprecated.- Specified by:
toStringin classDefinedPacket
-
equals
Deprecated.- Specified by:
equalsin classDefinedPacket
-
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated.- Specified by:
hashCodein classDefinedPacket
-