[MCPE-13089] Mobs killed by dispenser do not drop XP Created: 03/Feb/16  Updated: 05/Feb/16  Resolved: 03/Feb/16

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 0.14.0 Beta 4
Fix Version/s: None

Type: Bug
Reporter: Anas ahmed
Resolution: Works As Intended Votes: 0
Labels: None

Confirmation Status: Unconfirmed
Platform: Phone - Android - Huawei Honor (Specify in description)

 Description   

Mobs do not drop xp when killed by things thrown out of a dispenser (potion, tested in this case).



 Comments   
Comment by Anas ahmed [ 05/Feb/16 ]

Now*

Comment by Anas ahmed [ 05/Feb/16 ]

I hate it when you change feature, mcpe is not starting to suck!

Comment by Anas ahmed [ 05/Feb/16 ]

So my xp farm is ruined!

Comment by rplatham [ 03/Feb/16 ]

After all that fun, this works as intended. Death by dispenser doesn't drop XP (the obvious exception being if the player or player's tamed pet damaged the mob within the last 5 seconds of its death).

Comment by rplatham [ 03/Feb/16 ]

Thanks! Whew. I'll update the title and description to reflect this.

Comment by rplatham [ 03/Feb/16 ]

Was the world that you tested this in created in 0.14 and what mods are you using?

My test: create a new creative flat world in 0.14.0 build 4, place a chest and add some potions of harming, spawn a spider from an egg, quit, convert to survival, kill spider with potions of harming and you'll see the XP orbs. Also tried with potions of healing on zombie pigmen and it worked fine too.

Comment by Anas ahmed [ 03/Feb/16 ]

Actually the problem is when the potion are dispense with dispenser, sorry about the above one. Drops in both in survival and creative, just that the player has to throw, not working with dispenser

Comment by Anas ahmed [ 03/Feb/16 ]

I just tested it out, not dropping xp in survival, in creative its working fine

Comment by Anas ahmed [ 03/Feb/16 ]

I had this problem with skeletons, I used splash potion of healing and they did not drop xp

Comment by rplatham [ 03/Feb/16 ]

My test: create a new creative flat world in 0.14.0 build 4, spawn a spider from an egg, kill it with splash potions of harming and you'll see the XP orbs. If you are in 3rd person front view, you cannot see the orbs (that's a different bug) but you can see the shadows of the orbs.

Comment by rplatham [ 03/Feb/16 ]

Can anyone confirm this? I just resolved the same issue MCPE-10957 as fixed in 0.14.0 build 4...

Generated at Sat Jan 11 14:58:31 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.