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

Sound/visuals difference when shooting through "air" between stairs/bottom slap and water on top

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.16.4 Pre-release 2, 22w17a
    • None
    • Unconfirmed
    • (Unassigned)

      Short

      With short passages under (floating) water, arrows may or may not make a splash sound depending on the distance from which the shot was made. Longer passages will always make the splash sound. In all cases, the arrow does not visibly touch the floating water block.

      Longer

      Test setup:

      Have pool of water (source blocks) above a "floor" made of bottom slabs or upright stairs blocks. This leaves a visual air gap (of half a block height) between the water blocks and the slabs/stairs, either wide flat open gap with bottom slabs, or narrow tunnels with stairs.

      Or download the attached world save with a suitable test setup and instructions.

      Test action:

      Shoot arrows horizontally through those gaps, so that the arrow does not hit the slabs/stairs or the water blocks.

      Current results:

      If the player is at certain distances and the length of the gap (in shooting direction) is short enough, there is no splash sound.

      But if the player moves to another distance (e.g. about 1 block further away), or the gap is long enough, there will be splash sound(s), even if the arrow doesn't touch water.

      Expected results:

      One would expect water to flow down to fill the free space in the block/stair block's space, and thus arrows to make sounds. However, at least visually the water does not flow down, and thus shooting arrows through should not make sounds.

      Or, very least, the sounds should or should not be played consistently, not depend on how long "air gap tunnel" to fly through, and especially not depend on how far away the player was from the gap.

      Perhaps...

      ... The splash sound could be triggered by a larger hitbox of the arrow touching the water above, but the hitbox collision is checked only at specific intervals, and during its flight, a fast arrow might be at first just before the water, and at the next step already passed the water, thus not triggering the splash sound. With a longer gap/passage, those hitbox checks would always "hit" some of the water blocks above the path.

       

      (As of 22w17a, attached a world save with test setup. A superflat with "test range" and instructions.)

        1. short gap 2020-10-23_20.01.12.png
          short gap 2020-10-23_20.01.12.png
          685 kB
        2. long gap 2020-10-23_19.49.35.png
          long gap 2020-10-23_19.49.35.png
          730 kB
        3. long stairs gap 2020-10-23_19.41.42.png
          long stairs gap 2020-10-23_19.41.42.png
          425 kB
        4. MC-202675-flat.zip
          2.03 MB
        5. 2023-11-06_15-59-15.mp4
          5.46 MB
        6. 2023-11-06_15.51.27.png
          2023-11-06_15.51.27.png
          503 kB

            Unassigned Unassigned
            bugi74 Markku
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: