Class Packet21PickupSpawn_b1_1_02

    • Field Detail

      • entityId

        public int entityId
        Unique entity ID.
      • xPosition

        public int xPosition
        The item X position.
      • yPosition

        public int yPosition
        The item Y position.
      • zPosition

        public int zPosition
        The item Z position.
      • rotation

        public byte rotation
        The item rotation.
      • pitch

        public byte pitch
        The item pitch.
      • roll

        public byte roll
        The item roll.
      • itemID

        public int itemID
      • count

        public int count
        The number of items.
    • Constructor Detail

      • Packet21PickupSpawn_b1_1_02

        public Packet21PickupSpawn_b1_1_02()
      • Packet21PickupSpawn_b1_1_02

        public Packet21PickupSpawn_b1_1_02​(ItemEntity var1)
    • 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