Duplicate Mob Drop

Started by DarkParty on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Duplicate Mob Drop

So I have some bosses that are said to drop a certain weapon/armor that they wield. But then (since they have the weapon/armor on) they sometimes drop 2. So how without either making them not have the item or making the item have only a chance to drop would I make sure only one would drop.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe try removing the…
Fri, 11/14/2025 - 20:44

Maybe try removing the equipped items when the entity dies. Although I'm not positive if the built-in entity trigger runs before the loot would drop or if you would need to experiment with global triggers (possibly using the entity attacked global trigger, or on entity tick update and some calculations to figure out if the entity is about to die)