This datapack allows you to drink Bottle o' Enchanting to gain experience points instead of throwing them.
Currently supported version: **Minecraft 1.21.1** (pack format 48)
When you right-click with a Bottle o' Enchanting in hand, it consumes the bottle, grants 7 points of experience (the average that a Bottle o' Enchanting provides), and optionally replaces the bottle with an empty glass bottle.
### Configuration
By default, a Bottle o' Enchanting is replaced with an empty glass bottle upon consumption. This can be enabled or disabled on a per player basis by running the `/trigger giveEmptyXpBottle` command.