How to make mob item drop when another mob kills it, for example a cross bow

Started by Birbatiel on Thu, 04/15/2021 - 19:41

Topic category: Help with modding (Java Edition)

Last seen on 17:31, 4. May 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make mob item drop when another mob kills it, for example a cross bow
Thu, 04/15/2021 - 19:41

 

I'm trying to add a new music disc to my modpack and It is suppost to drop when a pillager kills another pillager using it's crossbow. But I have no idea how to do this lol, All i've managed to do is ruin the pillager's loot table so it only drops the music disc.