🚲 Bikes Are Pain

This mod allows you to control an in-game bicycle through real-world pedaling when linked to a fitness bike, combining gameplay with exercise. Without the fitness bike integration, it functions as a regular bicycle mod.
⚠️ Important Notice
- Server Compatibility: At this time, BikesArePain is not recommended for server use due to heavy packet traffic when using the real-world fitness bike integration (due to a lack of optimization). This may lead to performance issues or unstable gameplay.
- No Server Auto-Check: The mod will not auto-disable if the server does not have the mod installed.
- Alpha State: This mod is currently in alpha stage. Core functionalities are implemented, but further refinement, optimizations, and feature additions are needed.
📕 Features
- Functional in-game bicycle
- Pedometer to keep track of biking data
- Dyeable bicycle parts
- Optional integration with real-world fitness bikes (through Arduino)
📌 Quick Start
- Download the latest
.jarfile. - Place the
.jarin your Minecraftmodsfolder. - Install Dependencies:
- To use the fitness bike integration, modify the Arduino sketch to fit your setup (a guide is coming soon).
- Arduino Sketch
- Run the command
/bikes open <COM PORT>
🚩 Known Issues
- No server auto-checks: Joining a server without the mod won't automatically disable the features.
- Server traffic concerns: Excessive packet traffic when using the fitness bike integration or certain features.
- Pitch sync issues: Bicycle pitch synchronization is one-way, from the client to the server.
- Bad Accesiblity: The Narrator isn't currently used to communicate information.
- Serial connection bugs: Fitness bike linking is unstable. Auto-connect often fails or connections drop mid-session.
- Model inconsistencies: The in-game bike model has inconsistent part naming.
- Bad Geckolib Usage: Model animations and movement rely on a hacky implementation and require a rewrite.
🌿 Planned Features
- Unit tests for the codebase
- Code refactoring for performance improvements
- Workout session visualization UI
- Configurable workout goals
- Advancements based on exercise achievements
- New bike types (e.g., mountain bike, motorbike)
- Server-side configuration options
👓 Dependencies
This mod requires the following libraries:
- Geckolib – For animations
- YetAnotherConfigLib – For configuration
- ArchitecturyAPI – For cross-modloader support
📝 License
BikesArePain is licensed under the MIT License. See the LICENSE for details.
This mod uses jSerialComm for serial communication under the Apache 2.0 License. For other third-party software licenses, check THIRD_PARTY_LICENSES.
⚙️ Support
Found a bug or have a suggestion? Please open an issue on the GitHub repository.
Enjoy the ride and stay fit!
How to Install Bikes Are Pain (Mod)
Bikes Are Pain by Kadmuffin is verified for Fabric, Neoforge across Minecraft versions 1.21, 1.21.1 (latest release: 0.1.0, file size: 1.9 MB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21, 1.21.1) and platform (Fabric, Neoforge).
- Make sure you have the compatible loader or environment installed for Fabric, Neoforge.
- Move the downloaded Bikes Are Pain file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version## Changes:
- Add recipes for crafting pedometer.
- Add modifier to float on water into the shipwreck treasure loot
- Add a message in the wrench and pedometer.
- Add advanced configs for tweaking raycasting frequency.
- Add initial version of version-checking.
- Add clicking sound when looking at pedometer.
- Made dehydration calculation more complex (though it still needs some testing).
- Change health indicator to some phrases (the percentage is still visible).
- Improved some translations.
- Refactored some classes and splitted files.
## Performance changes:
- Optimized raycasting frequency when moving.
## Fixes:
- Added opacity for Bicycle colors (Fixes rendering issues with Shaders).
- Fix inconsistent floating in water with high framerates.
- Prevent jumping in water.
- Bicycle now rotates to the direction one is placing it (still a bit janky).
Full [changelog here](https://github.com/kadmuffin/bikesarepain-mod/compare/v0.0.1...v0.1.0-alpha).
## Changes:
- Add recipes for crafting pedometer.
- Add modifier to float on water into the shipwreck treasure loot
- Add a message in the wrench and pedometer.
- Add advanced configs for tweaking raycasting frequency.
- Add initial version of version-checking.
- Add clicking sound when looking at pedometer.
- Made dehydration calculation more complex (though it still needs some testing).
- Change health indicator to some phrases (the percentage is still visible).
- Improved some translations.
- Refactored some classes and splitted files.
## Performance changes:
- Optimized raycasting frequency when moving.
## Fixes:
- Added opacity for Bicycle colors (Fixes rendering issues with Shaders).
- Fix inconsistent floating in water with high framerates.
- Prevent jumping in water.
- Bicycle now rotates to the direction one is placing it (still a bit janky).
Full [changelog here](https://github.com/kadmuffin/bikesarepain-mod/compare/v0.0.1...v0.1.0-alpha).