[BUG/SOLVED] Damage is replacable not additive for enchantment?

Started by Nikk on

Topic category: Help with MCreator software

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[BUG/SOLVED] Damage is replacable not additive for enchantment?
Thu, 10/02/2025 - 18:21 (edited)

So for unknown reason to me, when I try use this to make enchant that deals extra damage, it replaces existing damage, I tested it with wooden and diamond swords.
And total damage was 5, 7, and 10, instead of for wooden, 9/11/14, and diamond was should be 12/14/17 damage.
As well this method does not give player kill credit, meaning things requiring player be thing killing mob does not trigger e.g. achievements.

Using this method instead on other hand, crashes the game as well makes cpu go to 100%, and I don't know why cause console and whole MCreator freezes as well and gotta close with task manager.

Tried using other methods I saw on forum cause this topic was touched few times, but I either could not find blocks/triggers descripted in other threads, or it would simple not work.

 

Edited by Nikk on Thu, 10/02/2025 - 18:21
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So, in minecraft damage is…
Wed, 10/01/2025 - 07:01

So, in minecraft damage is calculated, within each tick, not additively but rather by just taking the highest amount of damage dealt.

In the second procedure it's an infinite loop, the damage blocks also call the global trigger, as they should.

 

Try using this block,

0 would be the amount of damage you'd want to add

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know where I am…
Wed, 10/01/2025 - 23:45

I don't know where I am suppose put that block? 
Under deal damage in each one? 
Under whole thing?
Where?
I am pretty green at this stuff, so I never used those ones before.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You'd use that instead of…
Thu, 10/02/2025 - 18:12

You'd use that instead of the deal damage block.

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay it works now. huge…
Thu, 10/02/2025 - 18:21

Okay it works now. huge thanks!