mojira.dev
MC-121874

OnGround datatag doesn't work properly for when a fishing rod bobber gets reeled towards a ceiling

The bug

So basically, if a player where to reel out their fishing rod bobber towards block(s) above them... the game would for some reason make the bobber be stuck at OnGround:0b for a long period of time. Even if the bobber hits the ground afterwards, the bobber would still be stuck at OnGround:0b until the game decides to detect it that it's on the ground (which takes quite a while by the way).

See https://www.youtube.com/watch?v=nu-HD01nuEw&feature=youtu.be

How to reproduce

  1. Cast a fishing rod towards the ground

  2. Use the following command to verify that OnGround is set

    /say @e[distance=..10,nbt={OnGround:1b}]

    → It says "unknown", which is the fishing hook

  3. Cast the fishing rod against the ceiling and make sure the hook hits it

  4. Repeat step 2
    → It does not list the fishing hook

Related issues

Comments

migrated

Would a mod please confirm it? D:

marcono1234

It appears that there is sometimes also delay when you cast it directly towards the ground or against a wall.

Avoma

Can confirm in 20w49a.

Avoma

Can confirm in 20w51a.

migrated

(Unassigned)

Confirmed

Entities

OnGround, fishing_bobber, fishing_rod

Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45a, Minecraft 17w45b, ..., 1.16.4, 20w49a, 20w51a, 1.21.1, 24w39a

Retrieved