mojira.dev
MCPE-172630

Mobs obstruct player interaction with blocks under/behind at a wider range than in Java Edition

Steps to reproduce

  1. Spawn a sheep in a one-block space surrounded by full blocks at head-level, leaving the space accessible at foot-level.

  2. Try to use flint & steel to light a fire under the sheep.

  3. Behind hind the sheep at foot-level place a full-width interactable block such as a trapdoor or barrel, and to its right at foot-level place a full block.

  4. Go into the box and push the sheep toward the left.

  5. Stand back a few blocks and try to interact with the block behind the sheep by pointing between the sheep and the full block at foot-level.

Expected results

It is just as easy to set fire below the sheep in a 1-block space, and to interact with a block behind the sheep, as on Java Edition.

Observed results

  • Fire/interaction with the block below: it is harder to set fire to block below in Bedrok. On Java Edition, if you you push the sheep into the far left corner, you have about 1.5 pixels of space along the front and right of the block it stands on where you can interact. On Bedrock Edition, you have about 0.5 pixels.

[media]

[media]
  • Interactions with block behind: possible on Java Edition, not possible on Bedrock Edition.

[media]

[media]

In Bedrock, the area that you can break blocks under the mods is smaller than Java Edition. Mobile devices are the most who suffer with that, since is hard to place fire under mobs

Observed Results:

It's a little more difficult to set fire or break blocks below creatures. MCPE players are the ones who suffer the most from this, as they can end up accidentally hitting mobs while trying to do another activity

Expected Results:

The Bedrock area should be the same size as Java

Notes:{*}{*}

As you can see in Bedrock Edition, the area under mobs is a bit smaller, being easier to hit mobs in mobile devices

Screenshots/Videos Attached: Yes

Linked issues

Attachments

Comments 4

This seems to be a property of the player hit/interaction mechanics, as opposed to mobs' collision. When hitting a mob the "width" of the hit is 0.125 blocks, so if you are pointing within 0.0625 of an entity collision box it counts as hitting the entity. The same width must be applied to checking for entity interactions as well.

I think the parity difference on this issue can be explained simply by Bedrock having the 0.125 hit/interaction width and Java not having it. The math checks out as follows:

  • Sheep are 0.9 blocks wide. That means they cover 14.4 pixels on each axis.

  • When you push a sheep to one side of a block, it leaves 1.6 pixels uncovered.

  • In Java Edition you can interact with the block below the sheep by pointing anywhere in the 1.6 pixel wide band. Likewise, you can shear the sheep or hit the sheep by moving the crosshair in just past 1.6 pixels from the edge of the block.

  • In Bedrock edition you must point at least 0.625 blocks or 1 pixel away from an entity in order to point past it. In order to interact with the block below the sheep you must point within 0.6 pixels of the edge of the block opposite the side the sheep is pushed to. Likewise, you can shear the sheep or hit the sheep by moving the crosshair in just past 0.6 pixels from the edge of the block.

Hi)
Is this still an issue in the latest versions?

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
πŸ““ Bug Tracker Guidelines – πŸ’¬ Community Support – πŸ“§ Mojang Support (Technical Issues) – πŸ“§ Microsoft Support (Account Issues)
πŸ““ Project Summary – ✍️ Feedback and Suggestions – πŸ“– Game Wiki

Yes, this still affects the latest versions. For example, I was able to reproduce the issue in 26.50.22 using the same setup and contraptions that original creator of this report used:

Notice in the second example that the block outline disappears before my crosshair even touches the red line on the target block just like how the OP showed in his own example that the block outline disappears before the crosshair even touches the second pixel from the edge of the grass block.

This issue has been reviewed by our team.

Please add new, relevant information if it helps us understand or reproduce the issue. To show that you’re affected, use the vote feature rather than commenting.

If a fix is implemented, it will be listed in our official changelogs.

For major outages or urgent assistance, visit the Minecraft Help Center.

migrated

(Unassigned)

1083943, 1666248

Confirmed

Multiple

Windows 11

java-parity

1.21.120.22 Preview, 1.20.40.20 Preview, 1.20.30.22 Preview, 1.20.20.23 Preview, 1.20.20.22 Preview, , 1.20.62 Hotfix, 1.20.73 Hotfix, 1.21.21 Hotfix, 1.21.22 Hotfix, 26.50.22 Preview

26.60.21 Preview

Retrieved