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?