S0DPacketCollectItem
getCollectedItemEntityID(): int
getCollectedItemEntityID(): int
Returns 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(): int
Retrieves 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