Disable Certain Mobs Drops.

Started by efkrdnzzz on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Disable Certain Mobs Drops.

I am making a mod where you can level up kinda like rpg and I'm trying to make a enchantment to weapons that disables the loot drops from vanilla mobs for more xp per kill.

I know how to make the second part its really kinda simple but I have no idea how I can make only certain mobs I chose not drop any loot.

Please help...

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can override their…
Mon, 03/18/2024 - 16:26

you can override their vanilla loot tables by making your own with the same name as the original ones. You can define a lot of things in loot tables so I'd recommend researching it seeing what's possible.


https://mcreator.net/forum/89060/ability-remove-vanilla-mob-or-block-drop

https://minecraft.fandom.com/wiki/Loot_table

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But doesn't making a loot…
Mon, 03/18/2024 - 21:18

But doesn't making a loot table instantly override entire vanilla loot table. I want it to effect only if mob is killed using a weapon containing certain enchantment.