At a specific angle the sweeping attack is not working on cave spiders and only one mob takes damage. If the player is standing a slap higher it is working again.
The Spider are in a 1 * 1.5 * 1 hole. The Slab is on the ceiling. On one side there is a stair at the bottom (to get the spiders in) and a trapdoor ontop (so that the spiders can't get out).
The player is standing on the third block from the spiders, on the same level as the stair. The spiders have to climb up and be in the air, beneath the top slap.
If attacking from this position, there is no sweeping edge damage. Neither with a sweeping edge enchantment or not.
If the the player stands a slap higher, the sweeping damage is working again.
edit: changed "slap" to "slab"
Attachments
Comments 7
I believe this is intentional. You have to hit the lower parts of a mob to do a sweeping attack, and if you hit too high up you're telling the game that you don't want to use a sweeping attack. It's a pretty useful feature, to be honest.
> "If the the player stands a slap (slab?) higher, the sweeping damage is working again."
I cannot seem to reproduce this behavior. It seems like a distance issue, rather than a height issue. Can you still reproduce this in the latest version? If so, an update to the steps to reproduce would be very appreciated.
Here is my test:
[media]
I did just try it in1.16.3 again and I agree that it seems to have something to do with the distance. I is weird to me though that the hit distance and the distance that sweeping edge can be triggered at would be different.
(I did not test this much, just tried getting a bit closer.)
The sweeping attack is considered a close range melee attack as far as I'm aware, so the distance difference between it, and normal attacks is likely intentional. The exact distance seems to be around 3 blocks away.
I will go ahead and confirm this anyways in 1.20.4, and 1.20.5 Pre-Release 1, because I don't have a source to state the behavior here is intentional.
Please include a video with the F3 debug screen enabeled