I am trying to make it so that an item does more damage every time you hit something, what am I doing wrong?

Started by Hotdogbananaman on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am trying to make it so that an item does more damage every time you hit something, what am I doing wrong?
Wed, 03/01/2023 - 00:57 (edited)

this is the code, but for some reason the number (the global variable) never goes up, what am I doing wrong? the version I am using is 2021.1 since every other version I try doesn't work

Edited by Hotdogbananaman on Wed, 03/01/2023 - 00:57
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the item menu just choose…
Fri, 03/31/2023 - 11:29

In the item menu just choose durability, and make the stack size 1, you'll be good to go.

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you explain how you did…
Thu, 05/11/2023 - 20:10

Can you explain how you did that global damageforblood thing please?

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I created a variable and…
Sat, 05/20/2023 - 01:22

I created a variable and made it global I think