I was working on using query.health to make the score on the scoreboard the same as the player's health.
In the process, I found out that while the health was recovering, query.health was returning a value that was missing 1 from real health.
I talked to other people just in case it was an add-on problem that I designed, and I met someone who knows about errors related to absorption.
In the process, I got the "health_query_bug" add-on that I put up as a file, and after testing, I was convinced that the query was the problem.
The exact questions I found during the test are as follows.
1. After suffering damage, the first recovery recovers two degrees of health.
2. At this time, the query recognizes that 1 health is recovered.
3. In the end, After the health is max, query recognized as max health after a time of recovery.
If number two is not a problem, but number one is a problem... I think it could be a matter of Minecraft itself.
Attachments
Comments 3
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response
Is this still an issue in the latest version?
If it is, please be sure to include steps to reproduce the problem:
Steps to Reproduce:
1.
2.
3.Observed Results:
(Briefly describe what happens)Expected Results:
(Briefly describe what should happen)
If your ticket does not look like the example given here, then it's likely to be closed as incomplete.
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.
For any account or purchasing related issues, please contact Minecraft Customer Support directly, as we cannot assist with those here at the bug tracker.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
[^DetectHealth[B].mcpack]
[media]