How do I add damage to a weapon that's been enchanted?

Started by ArchangelStyx on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I add damage to a weapon that's been enchanted?

I'm trying to add a custom enchant with 4 levels called Reaping, I can't figure out how to make the weapon do more damage like Sharpness would. What method should I be using with Procedures? 

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I want to use a formula…
Fri, 01/08/2021 - 20:00

I want to use a formula similar to Sharpness such as (Enchantment Level) * 0.5 + 0.5 + Base Damage = Final Damage. In order to change the attack value, do I have to set the NBT tag for AttributeModifiers and generic.attack_damage to the formula? How do I do that exactly?  

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I also need this, i hope…
Mon, 01/31/2022 - 06:31

I also need this, i hope someone can help us