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

Testing an entity's 'OnGround' NBT when inside certain blocks will return inconsistent results.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w15a, Minecraft 1.12 Pre-Release 2, Minecraft 1.12, Minecraft 17w48a, Minecraft 17w49b, Minecraft 18w50a, 1.15 Pre-Release 2, 1.15 Pre-release 4, 1.16.3, 1.17.1, 1.20.2, 23w41a, 1.20.4, 1.20.5
    • Confirmed
    • Entities

      When testing an entity's 'OnGround' nbt data while they are standing inside certain blocks such as; cobwebs, berry bushes, and powdered snow, the game will return an inconsistent value at a fairly consistent rate.

      Steps to Reproduce:

      1. Run the following command in a repeating command block
        (The player's name will be printed in chat if they are NOT on the ground)
        /say @a[nbt={OnGround:0b}]
        
      2. Stand inside one of the following:
        → Cobweb
        → Berry Bush
        → Powdered Snow
      3. Jump, and wait to return to ground level

      Expected & Observed Results:

      - The values printed will primarily be empty messages, but on occasion the player's name will be printed (indicating that the return value was false). This happens at a fairly consistent rate.
      - The messages displayed in chat would always be empty messages, as the player is on the ground.

      Screenshots/Videos:

      2023-10-13_17-01-50.mp4

      Notes:

      Moving around inside the block will actually negate the observed behavior. The player must be standing still for the inconsistent result.

            Unassigned Unassigned
            Jingy Jiingy
            Votes:
            6 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              CHK: