TeamREPENTOGON / TeamREPENTOGON/REPENTOGON
[Bug] MC_PLAYER_GET_HEART_LIMIT callback makes player invincible with Heartbreak item
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 345
- Forks
- 51
- Avg merge
- 11h 2m
- Merged PRs (30d)
- 4
Description
I used the MC_PLAYER_GET_HEART_LIMIT callback to set the character's health limit to 6 hearts, while having the Heartbreak item. By obtaining items that increase health, it can be discovered that the upper limit of health is indeed 6 hearts. However, the Heartbreak item provided broken hearts beyond the limit, adding 6 broken hearts. After that, the number of broken hearts stopped increasing, resulting in the character being invincible and unable to die.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the interaction between the MC_PLAYER_GET_HEART_LIMIT callback and the Heartbreak item by setting the health limit to 6 hearts and obtaining health-increasing items. Trace how the callback limit and Heartbreak's broken hearts are applied, then verify that the player can still take lethal damage and die.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev, reverse-engineering
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100