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

Standing on top of mud as it converts to clay causes the player to fall through or be pushed out of the block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19 Pre-release 5
    • 22w14a, 22w15a, 22w16b, 22w18a, 1.19 Pre-release 3
    • None
    • Confirmed
    • Block states
    • Low

      Relates to MC-120611

      The bug

      If the player (or probably any other entity) is standing on top of a mud block as soon as that mud block becomes clay via the dripstone mechanic, the player will fall into the clay block. If there are no blocks around that clay block, this can additionally cause them to be pushed out of it sideways.

      How to reproduce

      1. Place mud
      2. Place a block below the mud
      3. Place a stalactite below the block
      4. Stand on the mud
      5. Wait or set randomTickSpeed to a high value

      Expected results

      As the mud converts to clay, the player would be moved upwards slightly to accommodate the clay block's hitbox, as is done for farmland that becomes dirt.

      Actual results

      The player is not moved upwards and falls into the clay as a result.

      Code analysis

      Code analysis by Avoma can be found in this comment.

        1. 2022-04-08_15.39.13.png
          2022-04-08_15.39.13.png
          143 kB
        2. 2022-04-08_15.39.14.png
          2022-04-08_15.39.14.png
          155 kB
        3. 2022-04-08_15.40.54.png
          2022-04-08_15.40.54.png
          159 kB
        4. 2022-04-08_15.39.09.png
          2022-04-08_15.39.09.png
          269 kB
        5. MC-250034.mp4
          2.79 MB
        6. MC-250034.png
          MC-250034.png
          4.58 MB

            gegy1000 [Mojang] Gegy
            Awesoman3000 Connor Steppie
            Votes:
            11 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: