
KarasunikiLib
Utility library for Karasu Lab
About this Mod
KarasunikiLib
KarasunikiLib is a lightweight utility library mod for Fabric and NeoForge, designed to streamline common development tasks for Karasu Lab's mods.
Dependencies 🔧
This mod requires Architectury API!
Warning ⚠️
This mod is migrating to new system. The old Interfaces will move to new package name.
Features ⚙️
- Energy API: Unified Energy to use easily.
- Abstract Block: Energy block, Storage block and more...
How to use ✍️
This is a library mod and does not provide direct in-game features for players. To use it in your mod development:
- Add KarasunikiLib as a dependency in your
build.gradlefile. - Utilize the provided APIs under the
com.karasu256.karasunikilibpackage. - For help with specific interfaces, refer to the source code or integrated Javadocs.
Contribution
Contributions are welcome! If you have suggestions, bug reports, or would like to submit a pull request, please follow these steps:
- Fork this repository and create your branch from
main. - Make your changes with clear commit messages.
- Ensure your code builds and passes any existing checks.
- Submit a pull request with a description of your changes.
License
This project is licensed under the MIT. See LICENSE for details.
Available Versions
How to Install KarasunikiLib on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.7).
Install Mod
Open the mod browser in the dashboard and search for "KarasunikiLib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.7, 1.21.6, 1.21.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
KarasunikiLib server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.7). You can switch loaders with one click in the panel.
Is KarasunikiLib compatible with fabric and neoforge?
KarasunikiLib officially supports fabric, neoforge for Minecraft 1.21.7, 1.21.6, 1.21.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with KarasunikiLib – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if KarasunikiLib consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install KarasunikiLib with just one click on your server.