spawnExpOrb

fun Block.spawnExpOrb(exp: Int, location: Location = this.location.add(.5, .5, .5)): Int

Spawns an experience orb of exp from this block after calling the BlockExpEvent.

Return

The amount of exp that was actually spawned