Xperia_mc26.1-26.2_v6

Xperia - XP Bottle Storage + Physical XP-Orb Merger

How to install:
1. Remove the older Xperia zip from the world's datapacks folder.
2. Put this zip in the datapacks folder.
3. Run /reload.

XP bottle storage:
- Hold empty glass bottles in either hand.
- Stand on an enchanting table and crouch.
- 7 stored XP + 1 glass bottle = 1 dropped Bottle o' Enchanting.
- Vanilla XP bottles still release a random amount when thrown.

Physical XP-orb merger:
- This version does not award XP with /experience and does not vacuum a radius into you.
- Every 2 ticks, it inspects one nearby physical XP-orb pile.
- The six-block player distance only finds a pile to inspect.
- The true merge radius is exactly 0.5 blocks around that orb pile.
- The surviving orb stays at the original pile position and keeps normal vanilla physics.
- Several orb entities are combined by exact Value x Count.
- A single vanilla orb with Count 2+ is also flattened into one higher-Value orb.
- Flattening Count into Value lets the physical orb use a larger vanilla XP-orb sprite.
- A lone 7-XP orb remains a 7-XP orb. It needs enough merged XP to look larger.
- The Ender Dragon drops many high-value orbs, not one special dragon-only orb type.
- Totals above 32767 XP are split without deleting XP.

Important behavior:
- Vanilla can still pull and collect a physical orb when it gets close enough to a player.
- Xperia itself does not move the merged orb to the player.
- A player-centered 0.5-block merger would be too late because the orb is already inside pickup range.

Triggers:
/trigger Bottle_Messages
/trigger Load_Notes
/trigger Uninstall_Xperia

Compatibility:
- Minecraft Java Edition 26.1 - 26.2 (data pack 101.1 - 107.1)
