The spear does not grant extra reach to mobs when they use the jab attack. To reproduce, spawn two skeletons in a completely cramped area where they can’t move. Then run the following commands:
/item replace entity @e[type=minecraft:skeleton] weapon.mainhand with minecraft:stone_spear/item replace entity @n[type=minecraft:skeleton] weapon.mainhand with minecraft:stone_swordCheck that one skeleton is holding a spear, the other is holding a sword, and that they’re perfectly overlapping one another. Then, go into survival mode and carefully walk into the skeleton’s attack range. Notice that they will always start attacking at the same range, rather than the one with the spear attacking at a further horizontal distance. This can also be reproduced with naturally spawning mobs wielding the spear such as piglins, though it’s more inconvenient.
Thank you for your report!
However, this issue is Working as Intended.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.
Full Version History -- Snapshot Version History -- Feature Requests and Suggestions
Quick Links:
📓 Bug Tracker Guidelines -- 💬 Community Support -- 📧 Mojang Support (Technical Issues) -- 📧 Microsoft Support (Account Issues) -- 📓 Project Summary -- ✍️ Feedback and Suggestions -- 📖 Game Wiki