Hello, I have found a rather interesting "bug". I am not sure if it is one, but max health attributes (using the /attribute command) will not exist after respawning in a single player world on 1.16.1. I was playing a superflat world with the starting configuration minecraft:air. Gamerules doDaylightCycle was false, keepInventory was true, and mobGriefing was false.
Environment
Java Version 1.16.1 Singleplayer
Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-179940, which is a report that has not been resolved yet.
If you want, you can upvote the parent ticket, and enable watching to receive any updates about it - if you believe you have any information that may be important for this issue, please leave a comment on the parent. Please also use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord