Features

Instant pickup every server tick, and XP you can bottle.

The core loop

Twenty times a second (once per server tick), the mod looks at every online player and collects each XP orb inside the configured radius around them. That is the whole mod. There are no keybinds to press, no GUI to open, and nothing to toggle in game.

Vanilla orbs on the left, none left with InstantXP on the right.
Same orbs, same four ticks: vanilla on the left, InstantXP on the right.

Vanilla pickup, minus the walking

Collection goes through vanilla's own orb pickup code, the same code that runs when you step on an orb yourself. That means:

The mod only removes two annoyances: having to physically touch each orb, and vanilla's two-tick breather between orbs. That breather is why a big farm drop used to take ages; InstantXP skips it, so a whole pile is absorbed in a single tick.

Bottle your XP

Sneak and use an empty glass bottle (not at water) to put 50 XP into a Bottle o' Enchanting. The bottle is named with the exact amount, and throwing it gives back exactly that XP, not vanilla's random 3 to 11. Instant pickup collects it straight away.

The hotbar: Bottle o' Enchanting (50 XP) is selected, three bottles stacked, level 28.
Three bottles of 50 XP each, stacked in one slot.

What it leaves alone

Performance

Per player per tick, the mod does one bounding-box lookup for nearby orbs and then touches what it finds. When there is nothing in range, that is the entire cost, which is negligible next to everything else a server tick already does. There are no background threads and nothing runs on the client.