Do I still get experience when a mob is killed indirectly? For example:
- Killed by another mob (a skeleton's arrow for example)
- Killed by an arrow from a dispenser
- Killed by a fall, drowning, fire or lava
Jeb has said that experience orbs are to be dropped only if the mob has been killed by the player, as opposed to a mob grinder.(Source)
As long as you personally hit it with a bow or weapon within 5 seconds of their death.