Oraxen
Optional Oraxen hook — getIdByItem / exists / getItemById, same save model as Nexo.
Compatible with: GrzybcioRynek 1.0.3Minecraft 26.2Web 0.1.0
Based on GrzybcioRynek 1.0.3 and web 0.1.0 source.
Oraxen is softdepend. Hook: OraxenHook, reflection io.th0rgal.oraxen.api.OraxenItems. Success: log Wykryto Oraxen! …. Failed API: warning, hook off.
No key in config.yml.
API used
| Oraxen method | Purpose |
|---|---|
OraxenItems.getIdByItem(ItemStack) | ID on listing |
OraxenItems.exists(String) | Whether ID is still in the pack |
OraxenItems.getItemById(String) + build() | Rebuild; amount copied from original |
exists == false → getOraxenItem returns null → keep clone of stored stack.
Save and inspect
Field oraxenId on listing and TX. /market admin inspect → Oraxen:.
Order vs Nexo
recreateItem on AIR: Nexo first (if nexoId present), then Oraxen. With a healthy stack (not AIR) the pack is not called at all — the stored ItemStack counts.
An item may have both IDs, one, or none.
What is missing
- ItemsAdder
- Discord / pack-sync
- Automatic ID migration on pack change (old stack remains; AIR + dead ID = item unavailable on purchase)