Summon Experience Orb

Loading
Page

Try the Commands Troubleshooting and Help page if you get stuff with server errors.

Minecraft Summon Experience Orb Command Generator

XP orbs can be summoned into the world via the summon command, setting the value adjusts the amount of xp a player receives. They can also be summoned with spawn eggs and spawners. Spawners create ongoing orbs at regular intervals and can be used as infinite experience gathering areas. Motion can be used to direct orbs in directions.

Experience Orb Value

Value is the amount of experience a player will receive when picked up. Value also affects size and can have negative values. Values max out when over 32767.

/summon minecraft:experience_orb ~ ~ ~ {Value:100}

Negative values

Numbers below 0 do not give players experience, but they do reduce the durability of tools with the mending enchantment.

/summon minecraft:experience_orb ~ ~ ~ {Value:-10100}

Age and Expiry

XP orbs expire and after 6000 Ticks they will disappear. Setting age can extent or shorten how long orbs remain in world. The following command will summon an orb that only lasts for a minute.

/summon minecraft:experience_orb ~ ~ ~ {Value:100,Age:1200}

Pickup Count

The number of times an orb can be picked up by players. It reduces by 1 each time it's picked up and will disappear when reaching 0. The follow orb can be picked up 10 times.

/summon minecraft:experience_orb ~ ~ ~ {Value:100,Count:10}

Health and Damage

Orbs can take damage from fire, lava and explosions. When health reaches 0 it will disappear.

/summon minecraft:experience_orb ~ ~ ~ {Value:100,Health:1000}

Experience Orb Spawners

Because XP orbs are entities they also work in spawners. The spawner works best if you set all the spawner options.

/give @p command_block{BlockEntityTag: {auto:1, Command: "/setblock ~ ~0 ~ minecraft:spawner{SpawnCount:20, MaxNearbyEntities:1000, SpawnRange:10, Delay:1, MinSpawnDelay:10, MaxSpawnDelay:20, RequiredPlayerRange:10, SpawnData: {entity:{id:experience_orb,Value:10}}} replace"}} 1

Suggestions or found a bug

Leave me a comment/like on:
Planet Minecraft
Reddit

Version History

31 Oct 2024
minecraft/mob-generator 1.6.12

addedwind charge, minecraft and boat

19 Sep 2024
minecraft/mob-generator 1.6.11

patchsheep and shulker colors

22 Aug 2024
minecraft/mob-generator 1.6.10

patchencoding tags for 1.20.5+

24 Jul 2024
minecraft/mob-generator 1.6.9

patchsummon area_effect_cloud syntax for 1.20.5
patchummon horse armor, llama decor item and wolf armor for 1.20.5

10 Jul 2024
minecraft/mob-generator 1.6.8

addedNew attributes for 1.21
patch1.20.5+ hand, armor, and trades tag detection and parsing improvements.

4 Jul 2024
minecraft/mob-generator 1.6.7

addedCache busting for updates

3 Jul 2024
minecraft/mob-generator 1.6.6

addedMob attributes 1.21 support

28 Jun 2024
minecraft/mob-generator 1.6.5

patch1.20.5+ give spawn egg command bug with name and lore
patchPufferfish PuffState

6 Jun 2024
minecraft/mob-generator 1.6.4

addedWolf types and armor
addedSome particle support
patchTNT fuse for 1.20.4

30 May 2024
minecraft/mob-generator 1.6.3

added1.20.5 support

23 May 2024
minecraft/mob-generator 1.6.2

patchSpawn egg selector options were messed up

23 Apr 2024
minecraft/mob-generator 1.6.1

patchVersion selector resetting

12 Oct 2023
minecraft/mob-generator 1.6

added1.20.2 Support for ActiveEffects and Effects


Read version history »
(68 More Updates)