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

Pumpkin and melon blocks still destroy farmland above them

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 23w16a
    • None
    • Unconfirmed
    • (Unassigned)

      The bug

      The maintains_farmland tag was implemented in 23w16a, which contains blocks which should make farmland permanently remain farmland and not stop being farmland randomly if said block exists on top. Among the blocks in this tag are minecraft:pumpkin and minecraft:melon, which imply that these blocks should also cause farmland to stay farmland if these blocks exist on top. However, placing one of these on top of farmland will immediately cause it to revert to dirt.

      How to reproduce

      1. Verify that pumpkins and melons are members of this block tag
      2. Attempt to place one of them on top of farmland

      Expected results

      The farmland would not be reverted to dirt by this placement.

      Actual results

      It is.

      How to fix

      Either farmland should not be reverted to dirt if a melon or pumpkin is placed on top of it, or pumpkins and melons should be removed from the maintains_farmland block tag.

        1. 2023-04-20_15.56.43.png
          310 kB
          Connor Steppie
        2. 2023-04-20_15.56.56.png
          287 kB
          Connor Steppie
        3. 2023-04-20_15.57.07.png
          298 kB
          Connor Steppie

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: