Started by
Matt The Banana
on
Topic category: Help with Minecraft modding (Java Edition)
I have searched far and wide and cannot find a way to make an entity drop one of an item when it is killed. I would like to know one of these two things:
1. Can/How do you drop items using the Event Editor?
2. How do I make it drop one item with code?
I've really been trying to find this. Hopefully you guys can help me out. If so, Thank You!
You can use global triggers with procedures for this. Take this as inspiration, just replace the explode block with spawn gem:
https://twitter.com/PyloDEV/status/1050470892705390594
Thank you very much! I had no idea "spawn gem" spawned a dropped entity! This information is very useful to me.