Hello! I do not know how to do the following: I need to loot that fell from the monster (ItemStack), could only pick up the one who killed him (Player). Can someone help?
@KarimAKL I understand, but how to make sure to pick up a could the one who killed the mob? BTW, this should not work for all items. That is, it must work solely for the loot that dropped from the mob. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
@Darris Entities have UUID, check if it's that exact entity before you do anything. (That counts for items on the ground as well)