S0DPacketCollectItem
getCollectedItemEntityID(): int
getCollectedItemEntityID(): intReturns the entity ID of the collected item. This is an integer value uniquely identifying the item entity that has been collected in the game world.
getEntityID(): int
getEntityID(): intRetrieves the entity ID of the entity that collected the item. This is an integer value identifying the entity (usually a player or mob) that has picked up the item. You can use world.getEntityByID() to get the Entity object from this ID.
Last updated