How to get the attack damage of an item without using itemstack elements?

Started by AliveWater on

Topic category: Help with Minecraft modding (Java Edition)

Active 10 months ago
Joined Sep 2024
Points:
89

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
How to get the attack damage of an item without using itemstack elements?

How would I get the attack damage of an item without using itemstack elements? Does anyone know how to do this?

Active 7 hours ago
Joined Dec 2014
Points:
1084

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 673
Ummm? Where else would you…
Tue, 10/01/2024 - 17:56

Ummm? Where else would you get it from?

Active 7 hours ago
Joined Dec 2014
Points:
1084

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 673
This?
Tue, 10/01/2024 - 18:04

This?

Active 4 months ago
Joined Jul 2022
Points:
534

User statistics:

  • Modifications: 1
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 237
[Get damage] block is how…
Thu, 10/03/2024 - 19:02

[Get damage] block is how much durability the item has lost, e.g. the amount of damage it has taken. Not its attack damage.