Class Packet41EntityEffect


  • public class Packet41EntityEffect
    extends Packet
    • Field Detail

      • entityId

        public int entityId
      • effectId

        public byte effectId
      • effectAmp

        public byte effectAmp
      • duration

        public short duration
    • Constructor Detail

      • Packet41EntityEffect

        public Packet41EntityEffect()
      • Packet41EntityEffect

        public Packet41EntityEffect​(int entityId,
                                    byte effectId,
                                    byte effectAmp,
                                    short duration)
      • Packet41EntityEffect

        public Packet41EntityEffect​(int i,
                                    PotionEffect potionEffect)
    • Method Detail

      • readPacketData

        public void readPacketData​(java.io.DataInputStream var1)
                            throws java.io.IOException
        Specified by:
        readPacketData in class Packet
        Throws:
        java.io.IOException
      • writePacketData

        public void writePacketData​(java.io.DataOutputStream var1)
                             throws java.io.IOException
        Specified by:
        writePacketData in class Packet
        Throws:
        java.io.IOException