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

OnGround becomes 0b for players when they walk up against one-high solid blocks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • Minecraft 18w16a
    • None
    • Unconfirmed

      (ensure 'auto-jump' feature is turned off)

      Put this in a repeating command block:

      execute as @a[nbt={OnGround:0b}] run say off ground
      

      walk into a one-tall block (no jumping, no falling off cliffs).

      EXPECTED: no output

      ACTUAL: says "off ground"

      Since this does not occur when walking against two-high walls, I think this might be the auto-jump logic somehow kicking in and affecting OnGround maybe? The player's Y coordinate never changes on the F3 screen, just the OnGround-edness for one tick when rubbing into a one-high wall.

            Unassigned Unassigned
            brianmcn Brian McNamara
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: