mojira.dev
MCPE-229887

Parity issue: The spear's hitbox inflation is smaller on Bedrock than on Java

The bug:

The spear’s hitbox inflation is noticeably smaller on Bedrock than on Java. On Bedrock, the spear can hit mobs about 0.125 blocks away from their original hitboxes, while on Java, the spear attacks mobs up to 0.25 blocks away from their original hitboxes.

To reproduce (on both editions):

  1. Obtain a spear

  2. Find a flat area and build a 1 by 2 confine to trap a mob, then spawn a vindicator inside it using a spawn egg

  3. Go into survival

  4. Use the following command to teleport almost facing the vindicator relative to it:

/execute at @n[type=minecraft:vindicator] run tp @p ~-3.5 ~ ~ -80 0
  1. Attack with the spear. Notice that the vindicator is affected by the attack on Java, but not on Bedrock, even though you’re attacking from the exact same position. (Note that you’re close enough on both editions to attack the vindicator’s hitbox directly by being 3.5 blocks away, so this isn’t an instance of MCPE-229475)

Linked issues

Attachments

Comments 2

I can reproduce in Android

This is a pre-existing parity difference. All player pointer interactions in Bedrock Edition have a 0.125 width: see MCPE-172630. If weapons have diverse hit widths in Java then this parity difference with the spear is just part of the larger combat systems disparity.

gaspoweredpick

(Unassigned)

1505139

Plausible

Multiple

24H2

1.21.130.22 Preview

Future Update

Retrieved