mojira.dev
MCPE-178691

Entities with "has_gravity":false, can start floating upwards when pushed by water

Entities with a "minecraft:physics" component, that have "has_gravity" set to false can lead to the entity flying up into the air when pushed by water.

This isn't caused by the entity receiving suffocation damage. The issue doesn't happen if the collision box is larger than 1.

Reproduction steps:

  1. Enter the attached world

  2. Create a 1x2 hole in the ground

  3. Place water next to the hole, on the short side

  4. Place the entity in the water

  5. See the entity float along the water and fly up when it hits the wall

{
    "format_version": "1.16.0",
    "minecraft:entity": {
        "description": {
            "identifier": "test:cube",
            "is_spawnable": true,
            "is_summonable": true,
            "is_experimental": false
        },
        "components": {
            "minecraft:physics": {
                "has_collision": true,
                "has_gravity": false
            },
            "minecraft:collision_box": {
                "width": 1,
                "height": 1
            },
            "minecraft:health": {
                "min": 1,
                "value": 100,
                "max": 100
            }
        }
    }
}

Attachments

Comments 2

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.

Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Maxaxik

(Unassigned)

1182767

Confirmed

Windows

1.20.60

Retrieved