-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EntityPickupItemEvent #167
Conversation
I've cleaned the patch up a bit and implemented the event in places where it was missing (picking up arrows and insentient mobs). I've not had the time to test this in-game. If anyone has tested and can confirm this is working as it should, please share results :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested the event with a Zombie and myself (player entity) and it worked perfectly for me.
If anyone else is going to test the event, here is a command to generate a mob that takes the item (without needing luck):
/summon Zombie ~ ~1 ~ {CanPickUpLoot:1b}
Thanks ApplePies for sending me the command.
No description provided.