mojira.dev
MC-313641

Bow-wielding skeletons can escape enclosures blocked by shelves underwater but not on land

In Java Edition, skeletons, strays, and bogged equipped with bows can escape underwater enclosures blocked by shelves, even though they can’t escape the same enclosures on land.

When targeting a player in Survival mode, the mobs may aim and fire an arrow before moving directly towards the player and escaping the underwater enclosure. This can happen whether the player stays stationary or moves/strafes.

Removing their bows or replacing them with swords via commands prevents them from escaping.

In Bedrock Edition, shelves contain skeletons, strays, and bogged both on land and underwater.

Steps to Reproduce

  1. Create an enclosure with a one-block-wide opening.

  2. Attach shelves to the walls at both leg and head height to block the opening.

  3. Fill the enclosure with water.

  4. Spawn a skeleton equipped with a bow inside the enclosure.

  5. Stand outside the enclosure, facing the opening, and switch to Survival mode.

  6. Observe the skeleton's behaviour.

  7. Repeat the test on land, then with a stray and a bogged.

Observed Results

In Java Edition, skeletons, strays and bogged equipped with bows can escape the underwater shelf enclosure by moving towards the player. On land, they remain contained and attack from inside the enclosure.

Removing their bows or replacing them with swords via commands prevents the underwater escapes.

Expected Results

Skeletons, strays and bogged should remain contained by the shelves underwater, as they do on land and in Bedrock Edition, provided the shelves form a collision barrier.

Additional Information

Similar escape behaviour was observed in Java Edition with other barriers, including iron bars, fences and glass panes. Depending on the setup, mobs sometimes moved directly towards the player, while others aimed, fired or strafed before escaping.

During Bedrock Edition testing, skeletons, strays and bogged remained contained by shelves, iron bars, fences and glass panes in both environments.

These observations may indicate a broader difference in mob movement or pathfinding between editions.

Tested versions:

  • Java Edition: 26.3 and 26.4 Pre-Release 1

  • Bedrock Edition: 26.65 (Windows 11) and Preview 26.70.26

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media][media][media]

S_Mania

(Unassigned)

Unconfirmed

26.3, 26.4 Pre-Release 1

Retrieved