Get attack damage of item

Started by myxical on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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