Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-220462

Fishing bobber can incorrectly have OnGround set to 1b when hooked onto an entity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.5, 21w11a
    • None
    • Community Consensus
    • (Unassigned)

      The bug

      When hooked onto an entity, fishing bobbers usually have their OnGround nbt set to 0b. However if a bobber hooks onto an entity by first touching the ground and then attaching, it will frequently have its OnGround nbt set to 1b, despite not touching the ground. 

      How to reproduce

      1. Give yourself a fishing rod
      2. Spawn an entity that can be hooked (like a cow)
      3. Cast the fishing rod at the ground near the entity so that the bobber first makes contact with the ground and then attaches to the entity
      4. Type
        /data get entity @e[type=minecraft:fishing_bobber,limit=1] OnGround

        →  If done correctly, the command will output 1b instead of 0b

            Unassigned Unassigned
            Aldinyx Aldinyx
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: