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

Liquid Buckets are placed against interactable surfaces without sneaking when clicking through targetable entities

XMLWordPrintable

    • Community Consensus
    • Entities, Items, Player
    • Low
    • Platform

      Observed Behaviour:

      Right-clicking with an Empty Bucket, Water Bucket, Lava Bucket, or bucketed Aquatic Mob on an interactable block (such as a door, note block, or decorated pot) or item frame, that is behind a targetable (but not right-clickable) entity causes the bucket to be placed, as if the player was sneaking, which is otherwise required to place against these surfaces.

      This applies to all targetable entities (those who display target information in the F3 menu) except armour stands, unless they have their own specific right-click interaction (when holding that item).

      This behaviour seems related to the fact that entities, including mobs, do not block placement of water or lava even when their hitbox is obstructing the target surface. Assuming that this is intentional behaviour, an exception should exist when the target surface ordinarily requires the player to sneak to place against it.

      Expected Behaviour:

      Either:

      1. The player interacts with the surface regularly (e.g. opening a door, storing the item in the decorated pot or item frame, changing the pitch of the noteblock, or toggling a daylight detector) as if there was no mob in the way
      2. Nothing occurs, as with right-clicking any other item on the target surface with a mob in the way.

      Steps to Reproduce:

      Open up a creative world, and use the /tick freeze {}command. Place down a decorated pot or other interactable block, then use a spawn egg to place a pig in front of it. Right click on the block through the pig, and the item is placed.

      To test empty buckets, you must use a waterloggable block such as a decorated pot or trapdoor, as bucketing water in front of a block is expected behaviour.

      Included images show before and after of these tests.

        1. 2024-06-10_02.02.38.png
          2024-06-10_02.02.38.png
          370 kB
        2. 2024-06-10_02.03.04.png
          2024-06-10_02.03.04.png
          404 kB
        3. 2024-06-10_02.28.54.png
          2024-06-10_02.28.54.png
          361 kB
        4. 2024-06-10_02.29.08.png
          2024-06-10_02.29.08.png
          358 kB
        5. 2024-06-10_02.48.15.png
          2024-06-10_02.48.15.png
          366 kB
        6. 2024-06-10_02.48.28.png
          2024-06-10_02.48.28.png
          408 kB
        7. 2024-06-10_02.59.29.png
          2024-06-10_02.59.29.png
          338 kB
        8. 2024-06-10_02.59.40.png
          2024-06-10_02.59.40.png
          482 kB
        9. image-2024-06-09-22-44-14-074-1.png
          image-2024-06-09-22-44-14-074-1.png
          3.30 MB
        10. image-2024-06-09-22-46-26-373.png
          image-2024-06-09-22-46-26-373.png
          3.30 MB

            Unassigned Unassigned
            sicarious sicarious
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: