How do I make a mob take more damage from a specific item

Started by guwno on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a mob take more damage from a specific item

I want to make a special sword that deals more damage than normal to a specific entity

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's actually very simple…
Fri, 05/03/2024 - 15:06

It's actually very simple. Go to the sword you wanna add this into, then create a new "when living entity is hit with tool" trigger, then add "deal ... damage to Event:Target entity

You can select the damage type. I recommand you put "player" in but you can make it so that it's fire damage for example or magic so that it bypasses armor.

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But this will make all mobs…
Fri, 01/03/2025 - 18:42

But this will make all mobs take more damage! @tdo