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

Started by Birbatiel on

Topic category: Help with modding (Java Edition)

Last seen on 22:32, 24. Aug 2022
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make mob item drop when another mob kills it, for example a cross bow

 

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.