The new ravagers have a very weird hitbox, that makes it harder to hit them, and also makes it so they can stand in lava without taking damage. See images below:
Linked issues
Attachments
Comments 17
I’ve noticed this when fighting a raid, and I snuck behind the ravaged to hit him, accidentally hitting his legs, and it did no damage.
@silentwisperer I also notice that if you put a ravager in a 4x4 fence and push them near the sides of the fence, the backside of the ravager will clip through.
Affects Beta 1.18.20.27
Reply from @unknown: there is no need to report beta versions if the latest release version is already reported or shown on the ticket.
The ravager actually has a hit box about the same size as on Java (1.95 x 2.2) or possibly a little wider (2.2 x 2.2) but it has a smaller collision box of 1.2 x 1.9, which makes its shadow smaller and allows it to clip into blocks visually. This also allows it to take damage from lava or cactus inside a wall that it stands next to, which is odd.
The diverse hit and collision sizes is similar to the hoglin, but the while the hoglin has a data-driven custom_hit_test for its hitbox, the ravager's hitbox is hard-coded. Since the custom_hit_test component was exposed for the hoglin, I don't see why it should remain hard-coded for the ravager.
Probably they did that to help with pathfinding since it's more difficult for big mobs to move around, the recently added Warden also has a thin collision box(2.9x0.8) which allows it to move more efficiently but differs quite a lot from Java in relation to reach
It appears that the shadow on where the hitbox is placed is smaller than the mob itself. The small shadow is probably related to MC-138766 where some mobs has small shadows.