mojira.dev
MCPE-45531

Ravager Has A Very Small Hitbox

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:

Related issues

Attachments

Comments

migrated
[media][media][media]
migrated

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.

silentwisperer

Hitbox extends past the shadow on the front side, just not on the backside

migrated

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.

migrated

@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.

migrated

Fixed in 1.13.0.1 beta

migrated

Affects 1.16.40 Hotfix.

Affects 1.16.100.55 Beta.

migrated

 Affects 1.16.100.58 Beta.

migrated

Even Hoglins

GoldenHelmet

The ravager in Bedrock Edition this collision box:

"minecraft:collision_box": {
        "height": 1.9,
        "width": 1.2
      },

The collision box in Java, on the other hand, is height 2.2, width 1.95.

If I had to guess, I would surmise that the Bedrock collision box was set based on

  • 1.9 height being the default for mobs in Bedrock.

  • 1.2 width based on how wide the ravager is visually side-to-side, i.e. the literal meaning of "width".

The Java width of 1.95 is a much better balance between the ravager's literal "width" and length. With a 1.95 game width you can bump ravagers from the side without quite touching them visually. That may seem like bug, but its negative impact is more than compensated for by the positive impact of a more accurate collision font-to-back. Moreover, giving ravagers a 1.95 width fixes their visual attack reach extending farther than their actual ability to hit (MCPE-60680).

migrated

Affects 1.17.40.20

migrated

I believe this links to my report (MCPE-142171) where the ravager's hitbox allow them to basically float at the very edge of a water stream

GoldenHelmet

The behavior in MCPE-142171 indeed does not occur if both this issue and MCPE-48145 are fixed.

RunOut

Affects 1.18.10

RunOut

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.

GoldenHelmet

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.

RunOut

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

RunOut

Affects Beta 1.18.30.26 and Preview 1.18.30.27


Reply from @unknown: we don't need to add beta versions when the bug affects the current release and no fix has been announced.

silentwisperer

(Unassigned)

545149

Confirmed

Windows

window 10

1.17.11 Hotfix, 1.16.0.59 Beta, 1.11.0, 1.12.0.4 Beta, 1.11.1, 1.11.3, 1.11.4, 1.14.60 Hotfix, 1.17.30, 1.18.12 Hotfix

1.19.40.21 Preview, 1.19.40

Retrieved