Mojira Archive
MC-258616

The "/attribute @p minecraft:generic.max_health base set x" command not working properly for lower values of x..

Put the summary of the bug you're having here

What I expected to happen was...:
When I use /attribute @p minecraft:generic.max_health base set 1 it should set my max hearts to 1/2, but that doesn't happen, instead nothing changes.

What actually happened was...:
The /attribute @p minecraft:generic.max_health base set x command only works when x is a higher number, I'm not sure what numbers it works with, but so far 30,50, and 100 have worked.

Steps to Reproduce:
1. Open a world with cheats enabled on survival or hardcore
2. type attribute @p minecraft:generic.max_health base set x
3. Try different values for x and see what works

Duplicate

BetterChicken

2022-12-19, 01:35 AM

2023-08-04, 09:10 AM

2022-12-19, 11:28 AM

0

0

Unconfirmed

1.19.3

-