Represents a packet that is sent when an item is collected by an entity
Packet
getCollectedItemEntityID(): number
number
Gets the ID of the item entity that was collected
Returns
The collected item's entity ID
getEntityID(): number
Gets the ID of the entity that collected the item
The collector's entity ID
getPacketID(): string
string
Get the ID of the packet.
The ID of the packet.
Inherited from
Packet.getPacketID
getPacketID
Last updated 3 months ago