"Set damage of provided itemstack to [number]" block function issue.

Started by AwesomeSauce999 on Sat, 11/07/2020 - 20:44

Topic category: Help with modding (Java Edition)

Last seen on 18:41, 26. Jan 2021
Joined Apr 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
"Set damage of provided itemstack to [number]" block function issue.
Sat, 11/07/2020 - 20:44

So, I wanted to make a custom enchantment that increases the damage of a weapon(better than sharpness) however, when I used the "set damage of provided itemstact to [#]" block, it seemed to just decrease the durability of the item very quickly until it broke (with the enchantment applied) If this block does damage the durability of an item, how can I increase it's damage?

Last seen on 18:43, 25. Jan 2021
Joined Feb 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
The damage means taking away…
Sun, 11/22/2020 - 17:05

The damage means taking away durability, so if you set it so it increases the damage by 1, it will slowly eat away at you swords durability, causes the weapon to break.