Cobblemon XP Bar
A simple tailored addon for Cobblemon that adds a dynamic experience bar to the battle UI.


Features
- Animated Experience Bar: Watch your Pokémon's EXP grow smoothly after every battle action.
- Level Up Notifications: Visual flash and sound effect when your Pokémon levels up.
- Seamless Integration: Designed to fit perfectly with the default Cobblemon battle interface.
- Customizable: The XP bar textures can be replaced via Resource Packs.


Installation
- Make sure you have NeoForge (1.21.1) installed.
- Install Cobblemon (v1.6+).
- Drop
cobblemon-xp-bar-1.0.1.jarinto yourmodsfolder.

Customization
You can customize the look of the bar by creating a Resource Pack and replacing:
assets/cobblemonxpbar/textures/gui/xp_bar.png(Background)assets/cobblemonxpbar/textures/gui/xp_bar_fill.png(Fill)
License
This project is licensed under the MIT License.
How to Install Cobblemon EXP Bar (Mod)
Cobblemon EXP Bar by Fuzilogik is verified for Fabric, Neoforge across Minecraft versions 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6 (latest release: 1.0.5, file size: 23 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6) and platform (Fabric, Neoforge).
- Make sure you have the compatible loader or environment installed for Fabric, Neoforge.
- Move the downloaded Cobblemon EXP Bar file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version### ✨ Features
- Fabric Support**: Cobblemon XP Bar is now available for **Fabric**! Same animated XP bar, level-up flash, and combat log messages you know from the NeoForge version.
- Cross-Version Compatibility**: Works with both **Cobblemon 1.6.x** and **1.7.x** thanks to dynamic party storage API detection.
### 📦 Requirements
- Minecraft **1.21.1**
- Fabric Loader** 0.16+
- Fabric API**
- Fabric Language Kotlin**
- Cobblemon** 1.6+
### 🛠️ Technical Notes
- Includes all fixes from v1.0.5 (NeoForge): dynamic party storage access via reflection and improved fallback logic to the battle actor's Pokémon list.
- The HUD overlay is now registered through Fabric API's
HudRenderCallback(replacing NeoForge's GUI layers system).
### 🛠️ Fixes
- Sinytra Connector Compatibility**: Fixed crash when using Sinytra Connector (Fabric mods on NeoForge). The mod now uses reflection to dynamically access the party storage API, ensuring compatibility across different Cobblemon versions and mod loader configurations.
- Improved Fallback Logic**: If party storage access fails, the mod now gracefully falls back to using the battle actor's Pokémon list.
## v1.0.3 - Combat Logs & Fixes
Enhancing battle feedback and refining visuals for a smoother experience!
### ✨ Features
- Combat Log Messages**: Added system messages when your Pokémon gains XP or Levels Up during battle.
- Includes full Multi-Language support (en_us, es_es).
- _Example: "Your Charizard has leveled up to level 36!"_
### 🛠️ Fixes
- Status Indicator Positioning**: Fixed a visual bug where status icons (Sleep, Poison, etc.) for the **Enemy Pokémon** were incorrectly shifted down. Now, the shift only applies to the Player's Pokémon on the left side, keeping the enemy's interface clean and correct.
- Multi-language Support: Now available in Spanish and English.
- Level Up Effect: New visual flash when your Pokémon levels up.
- Visual Improvements: The XP bar is now perfectly centered and looks sharper.
- Animated XP Bar: Watch your experience gain in real-time during battle.
- Level Up Alerts: Added sounds and visual effects when leveling up.
- Sleek Design: Minimalist style that fits perfectly with the original interface.
- Fixes: Resolved visual bugs and startup crashes.