Class EntityEffect

java.lang.Object
net.md_5.bungee.protocol.DefinedPacket
net.md_5.bungee.protocol.packet.EntityEffect

@Deprecated public class EntityEffect extends DefinedPacket
Deprecated.
  • 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:
      read in class DefinedPacket
    • write

      public void write(io.netty.buffer.ByteBuf buf)
      Deprecated.
      Overrides:
      write in class DefinedPacket
    • handle

      public void handle(AbstractPacketHandler handler) throws Exception
      Deprecated.
      Specified by:
      handle in class DefinedPacket
      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

      public String toString()
      Deprecated.
      Specified by:
      toString in class DefinedPacket
    • equals

      public boolean equals(Object o)
      Deprecated.
      Specified by:
      equals in class DefinedPacket
    • canEqual

      protected boolean canEqual(Object other)
      Deprecated.
    • hashCode

      public int hashCode()
      Deprecated.
      Specified by:
      hashCode in class DefinedPacket