Scaling Health

Scaling Health

23M Downloads

Scaling health with modded armor

Needmoremods opened this issue ยท 4 comments

commented

Versions

Minecraft Version: 1.10.2
Scaling Health Version: 1.11.x-1.0.4-46
Silent Lib Version: 1.10.2-2.1.4-61

Just a possible note, I have been trying to use scaling health whilst giving myself modded armor with the generic.maxhealth attribute and it doesn't work.

Expected behavior

Health stacking on top of scaling health with modded armor

Actual behaviour

Armor that doesn't seem to add health no stacking occurs.

commented

What mod is the armor from? Also try enabling Debug Mode in Scaling Health's config. This will show all health modifiers applied to your player.

commented

What mod is the armor from? Also try enabling Debug Mode in Scaling Health's config. This will show all health modifiers applied to your player.

Oh it was simply spawned armor from command blocks.

commented

Tested this on modded and vanilla 1.12.2, everything seems to be working. Are there any particular setups that seems to fail? Two that I tried are:
/give @p minecraft:diamond_boots 1 0 {AttributeModifiers:[{Slot:"feet", AttributeName:"generic.maxHealth", Name: "generic.maxHealth", Amount:0.05, Operation:1, UUIDLeast:2, UUIDMost:2}]}
and
/give @p minecraft:diamond_chestplate 1 0 {AttributeModifiers:[{Slot:"chest", AttributeName:"generic.maxHealth", Name: "generic.maxHealth", Amount:20, Operation:0, UUIDLeast:1, UUIDMost:1}]}
Both as which work as intended.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.