6

With a command block I am able to provide sharpness and smite to the same weapon. Do the effects of this stack?

  • Yes I know that the two damage types can not be put on a weapon naturally. – Vethor Jun 6 '16 at 17:49
  • 2
    @JustAGuest No, you cannot. – Skylinerw Jun 6 '16 at 20:04
6

Yes, the damage stacks.

To test this I gave myself 4 weapons:
Sword 1: No enchantments
Sword 2: Sharpness V
Sword 3: Smite V
Sword 4: Sharpness V and Smite V

I then added an objective to track the damage I have dealt:

/scoreboard objectives add damageDealt stat.damageDealt

And summoned a skeleton with a lot of health:

/summon Skeleton ~ ~ ~ {Attributes:[{Name:generic.maxHealth,Base:3000}],Health:3000}

Against the skeleton, for each weapon, the damageDealt statistics would consistently show:

Sword 1: 70 damage
enter image description here

Sword 2: 100 damage
enter image description here

Sword 3: 195 damage
enter image description here

Sword 4: 225 damage
enter image description here

So the Sharpness V adds 30 damage (1.5 hearts), the Smite V adds 125 damage (6.25 hearts) and both together add 155 damage (7.75), which is 30 + 125.

Therefore, it appears as though extra damages simply add with each other.

  • This is the correct answer. For technical details, I have a post here describing how the source combines all the Sharpness-like enchantments together into the same modifier. – Skylinerw Jun 6 '16 at 20:13
  • Just wondering if this is still true, wiki says they're mutually exclusive. – Cestarian Feb 27 '17 at 5:24
  • @Cestarian The wiki likely means you can't normally put them both on the same weapon. – SirBenet Feb 27 '17 at 9:07
  • Ah that's right. – Cestarian Feb 27 '17 at 12:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.