Started by
Geilosaurus
on
Topic category: Help with Minecraft modding (Java Edition)
I wanted to make a pickaxe that spawns an xp orb when breaking a block, so I used the "spawn entity" block in the "block destroyed" event. This worked, but the xp orb didn't have a value, meaning that I didn't gain any xp when collecting it. How can I spawn an experience orb that actually gives xp?
Edited by Geilosaurus on Tue, 05/17/2022 - 07:29
World Management tab ->
Spawn XP orb at <X> <Y> <Z> with xp amount of <N>
Thanks!