mojira.dev
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

Linked issues

Attachments

Comments 1

Thank you for your report!
We're tracking this issue in MC-180001, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

BetterChicken

(Unassigned)

Unconfirmed

1.19.3

Retrieved