mojira.dev
MC-306636

Gravity not functioning correctly

I created two custom items: a pair of boots that make the player "overweight", and an block that makes the player "weightless".

The bug occurs with the following steps:

Hold the weightless block. The player becomes weightless correctly.

While still holding the weightless block, put on the overweight boots. The weightlessness isn’t correctly overridden by the boots. weightless block, take off the boots. Expected behavior: The player should become weightless again because the boots are gone and I am still holding the weightless block. Actual behavior: The player remains on the ground with normal gravity and does not regain the weightless effect. The effect does not return until I drop and re-pickup the weightless item, or re-equip the boots.

Environment

Java 25

Linked issues

Attachments

Comments 3

Thank you for helping us improve Minecraft! We saved your files:

[media]

Additional Information

perhaps i used a same attribute id(no_name),which caused the gravity incorrectly function.

however,the issue of not receiving the correct gravity effect after putting on the iron boots still persists.

Thank you for your report!
We're tracking this issue in MC-272769, 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 (Technical Issues) – πŸ“§ Microsoft Support (Account Issues)
πŸ““ Project Summary – ✍️ Feedback and Suggestions – πŸ“– Game Wiki

icezero257

(Unassigned)

Unconfirmed

(Unassigned)

1.21.11

Retrieved