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

Details

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

    Description

      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.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                CHK: