Experience orb spawn reason
Gives the experience orb's spawn reason, one of the spawn reason values. Paper: the reason that this experience orb was spawned.
A Minecraft element (a value) in Entities & mobs. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player right-clicks an entity → Answer spawn reason: {node.v.value} → Done
Also called
experience orb, spawn reason, experienceorb, mob, entity
Works as a data pack?
Yes. A vanilla data pack does this exactly as the plugin does.
What you give it
- Entity
What it gives back
- Spawn reason