mojira.dev
MCPE-87711

Experience orbs push mobs

When you trade with a villager, the xp that you get whilst trading pushes the villager away and makes it unreachable for the player to trade 

Related issues

Attachments

Comments

migrated
[media][media]
migrated

They're being pushed by XP orbs 

migrated

Affects 1.16.100

Affects 1.16.200.56 Beta

GoldenHelmet

xp_orb mob collision can be removed with a behavior pack by setting "is_pushable": false within the “minecraft:pushable" component. This is the same setting that is used on armor stands so that mobs don’t collide with them.

The actual collision box of xp_orbs should be kept as-is so that their collision with blocks matches their rendered size. However, it won’t quite match until MCPE-110282 is fixed.

migrated

Affects 1.17.40.20

migrated

In addition to pushing mobs back as the original report says, xp orbs also interfere with mob ai and pathfinding (mobs collide with xp). Rather, in my experience, mob ai is not aware of the presence of the xp orb and mobs become stuck in some instances. Perhaps this can be added to the original report.

What happened in my case was that I was in a cave. I killed a zombie and that zombies xp orb fell in a 1x1x1 water (was a dripstone cave). However, I moved far enough away in a straight line that the xp was not able to come to me. Then, a second zombie came along but it fell into that water. However, when it attempted to walk to the front of the block (at which point it would jump out of the water) it got stuck. This was as the xp orb was stuck between the zombie and the block. At this point the zombie basically did not know what to do. The ai acted as if it was still trying to move forward but had no idea that there was an xp orb in its way. The zombie basically froze, no jumping, no major twitching either. The xp orb kept the zombie from advancing and essentially created a gap that the zombie dis not recognize how to move around. 

migrated

(Unassigned)

388396

Confirmed

Multiple

vanilla-parity

1.19.20.23 Preview, 1.17.11 Hotfix, 1.17.10, 1.16.220.50 Beta, 1.16.210.58 Beta, ..., 1.17.40, 1.18.12 Hotfix, 1.18.31, 1.19.10, 1.20.51 Hotfix

1.20.60.25 Preview, 1.20.60

Retrieved