Recently I have been having a lag issue with XP orbs spawning out of nowhere.

I removed all XP farms and sources of XP orbs. I then typed /kill @e[type=xp_orb], which killed all XP orbs and reduced the lag for a temporary.

The problem is that every time some XP Orbs are not being removed.

I also tried the solution in another post regarding this issue and it seems to only work for Java edition and I'm having an issue with Bedrock Edition. I tried using MCedit but it's not working for my edition of Minecraft.

I'm tired of typing /kill @e[type=xp_orb] every 30 seconds or so to reduce lag, is there any other way of stopping XP orbs from spawning?

  • Can you please link the other answer you are mentioning for reference?
    – Fato39
    Sep 9 '20 at 8:50
  • Fato39, Here is link: gaming.stackexchange.com/questions/301482/… Sep 9 '20 at 9:22
  • Thanks! Just to clarify, the /kill command does indeed work, but you cannot use MCEdit to edit the world like the other answer suggested?
    – Fato39
    Sep 9 '20 at 9:32
  • 1
    No, MCEdit doesn't work for me and I have to type the /kill command very often to stop the lag, Plus it destroys my chairs Sep 9 '20 at 9:34

You can use the same command that you used:

kill @e[type=xp_orb]

However, instead of inputting it into chat, you can put it into a repeating command block set to always active, so it actively removes all xp orbs in the world. It is helpful if you disabled commandBlockOutput as well, to prevent chat clogs. I hope this helps, and correct me if something is wrong.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.