Get attack damage of item

Started by myxical on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined May 2021
Points:
779

User statistics:

  • Modifications: 0
  • Forum topics: 36
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 83
Get attack damage of item
Sat, 10/09/2021 - 18:41 (edited)

How do I get the attack damage of the item the player's holding? I tried the "get damage of" block, but that refers to durability.

Actually, no. How do I get player's current attack damage? Like if the player had a strength potion the output value would be higher.

Edited by myxical on Sat, 10/09/2021 - 18:41