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

Gaps in collision between vertically stacked cacti

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.6, 24w19b, 1.21 Pre-Release 1, 1.21 Pre-Release 2, 1.21, 24w34a, 24w39a, 24w45a, 25w02a
    • None
    • Confirmed
    • Collision
    • Low
    • Platform

      Cacti have a collision box of (1/16, 0, 1/16) to (15/16, 15/16, 15/16), which allows players to take damage on cacti they stand on. However, because the collision does not take up a full block vertically, the 1/16 empty collision at the top of each cacti block will repeat for each block in a cactus, even if they aren't the top block.

      Since cacti visually appear as a solid box extending vertically, I wouldn't expect there to be gaps in the collision associated with this box. However, there indeed are gaps, and e.g. arrows can be shot through these gaps. I would expect the reduced Y height of the cactus' collision box to only exist for the top cacti.

            Unassigned Unassigned
            haykam haykam
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: