# CrowBar v0.1.11
Adds Minecraft 26.2 support alongside existing 26.1.x and 1.21.x, released as three separate JARs.
## Added
- **`version26_1/` subproject**: Targets Minecraft 26.1.x (26.1.2), preserving the original API calls (`LocatorBarRenderer`, `getMainCamera()`, `setScreen()`, `ChatFormatting` team colors).
- **`version26/` subproject**: Updated to Minecraft 26.2 with new API calls (`LocatorBar`, `mainCamera()`, `setScreenAndShow()`, `Optional<TeamColor>`).
- **`fabric_api_minimum` property**: Separate compile-time (`fabric_api_version`) and runtime-minimum (`fabric_api_minimum`) version prevents the mod from requiring a higher Fabric API than necessary.
## Changed
- **`InGameHudMixin` (26.2)**: Mixin target changed from `Gui` to `Hud` — Minecraft 26.2 moved hotbar and HUD rendering methods into a new `Hud` class.
- **`CrowBarRendererMixin` (26.2)**: Mixin target changed from `LocatorBarRenderer` to `LocatorBar` — Mojang renamed the entire `contextualbar` package.
- **`CrowBarHudRenderer` (26.2)**: `getMainCamera()` → `mainCamera()`; team color uses new `Optional<TeamColor>` API.
- **`CrowBarState` (26.2)**: `mc.player.connection` → `mc.getConnection()`.
- **`CrowBarConfigScreen` (26.2)**: `setScreen()` → `setScreenAndShow()`.
## Fixed
- **Keybinds work on non-Allium servers with vanilla locator bar**: The `isVanillaLocatorBarVisible()` check now obtains the network connection via `Minecraft.getConnection()` instead of `mc.player.connection`, which could be null or stale during world transitions.
- **Fabric API minimum version in baked JAR**: Removed duplicate `>=` prefix from `fabric_api_minimum` property to produce a valid version constraint.
## Removed
- **`hasModifiersPressed()` keybind guard**: Removed the shift/ctrl/alt/super modifier check from keybind handling, allowing direct toggle toggling without requiring unmodified keypresses.
## Downloads
- `CrowBar-1.21.x-x.x.x.jar` — Minecraft 1.21.6–1.21.11
- `CrowBar-26.1.x-x.x.x.jar` — Minecraft 26.1.x
- `CrowBar-26.x-x.x.x.jar` — Minecraft 26.2
Optional dependencies
Allium
Any compatible version
Mod Menu
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }