TieredZ

TieredZ

1M Downloads

Max Health stat doesn't work as intended

PremiumRush opened this issue ยท 2 comments

commented

Minecraft Version

1.21.x

Mod Loader Version

Fabric - 0.16.5

Mod Version

Tiered 1.3.4

Describe the Issue

So I have been fiddling around with datapacking TieredZ and for some reason the Max Health stat doesn't work.
I added it to multiple tiers on Armor and also weapons in the attached Datapack.

What is happening?
The equipped piece of Armor does give the player bonus hearts (i.e. a second row with hearts), however, these hearts are ineffective. As soon as the player is hit, the entire bar of extra health goes down to 0 and the players default health is damaged next.

What is supposed to happen?
The hearts would be expected to deplete like normal hearts in Minecraft would and not all disappear in one hit.

How to reproduce
Paste the Datapack in a worlds datapack folder and reforge Armor until it has the max health stat.
Then get hit by a mob in survival mode.

tieredz_reward_system.zip

latest.log

latest.log

Do you use any other mods except the required ones?

This has been tested without any additional mods except required

commented

Update about this, it also happens without my Datapack.

latest.log

commented

My suspicion is that AutoTag doesn't exist for 1.21 yet but the mod loads without it anyway. Could this be the reason? And if, is it fixable without it?