Class Packet5PlayerInventory_b1_1_02

    • Field Detail

      • entityID

        public int entityID
        Entity ID of the object.
      • slot

        public int slot
        Equipment slot: 0=held, 1-4=armor slot
      • itemID

        public int itemID
        Equipped item (-1 for empty slot).
    • Constructor Detail

      • Packet5PlayerInventory_b1_1_02

        public Packet5PlayerInventory_b1_1_02()
    • Method Detail

      • readPacketData

        public void readPacketData​(java.io.DataInputStream var1)
                            throws java.io.IOException
        Abstract. Reads the raw packet data from the data stream.
        Specified by:
        readPacketData in class Packet
        Throws:
        java.io.IOException
      • writePacketData

        public void writePacketData​(java.io.DataOutputStream var1)
                             throws java.io.IOException
        Abstract. Writes the raw packet data to the data stream.
        Specified by:
        writePacketData in class Packet
        Throws:
        java.io.IOException
      • getPacketSize

        public int getPacketSize()
        Abstract. Return the size of the packet (not counting the header).
        Specified by:
        getPacketSize in class Packet