mojira.dev
MC-300620

Fishing bobber's OnGround flag alternates every tick when on the ground

When a fishing bobber entity (minecraft:fishing_bobber) touches the ground, its OnGround flag alternates between 0b and 1b every tick.

To reproduce

  1. Set up a repeating command block facing sideways with execute as @n[type=minecraft:fishing_bobber,nbt={OnGround:0b}] run particle minecraft:angry_villager ~ ~1 ~

  2. Set up a chain command block following it with execute as @n[type=minecraft:fishing_bobber,nbt={OnGround:1b}] run particle minecraft:happy_villager ~ ~1 ~

  3. Power the repeating command block

  4. Cast a fishing line onto the ground
    ❌ Particles appear above both command blocks

Expected result

Particles would only appear over the second command block, and twice as frequently (since OnGround should always be 1b)

Linked issues

Attachments

Comments 6

Hi!
Thank you for your report! 

However, this issue has been temporarily closed as Awaiting Response.

Could you please provide more details or/and media files. As such we have no repro of this issue. 

Also, just a reminder, to make your bug report as effective as possible, please try and include the following steps to reproduce the problem: 

Steps to Reproduce: 

Observed Results: 

(Briefly describe what happens) 

Expected Results: 

(Briefly describe what should happen) 

If your ticket does not look like the this example, then it's likely to be closed as incomplete. 

This ticket will automatically reopen when you reply. Thanks!

Quick Links

📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki 

To demonstrate this, the following commands can be used:

execute as @e[type=minecraft:fishing_bobber] if data entity @s {OnGround:1b} run say 1b
execute as @e[type=minecraft:fishing_bobber] if data entity @s {OnGround:0b} run say 0b
With these commands running, you can observe that when the bobber is on the ground, the OnGround state keeps switching between 1b and 0b each tick.
Normally, it should consistently stay at 1b while in contact with the ground.

As a result of this issue, the bobber cannot be reliably detected as grounded, and it no longer despawns after being on the ground for 1 minute as it used to.

Hi again!

Thank you for your response, however could you please answer few more questions regarding this issue? 

  • Are these commands are being executed in command block rather than by the Player?

  • Can you record and upload a video of this issue? 

This ticket will automatically reopen when you reply. Thanks!

Yes, these commands are being executed from a command block, just like in the video.

Can confirm, added repro steps which avoid spamming the chat

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

Keiragi

(Unassigned)

Confirmed

(Unassigned)

1.21.8, 25w41a

Retrieved