
ModsJava
CodeLib - Coder's Libraries
Java mod listed for Minecraft 1.21–26.x. Downloads from the MC Java Mods app on Android.
A Paper plugin that downloads and extracts essential Java libraries for Coder addons — including Gson, Rhino, LuaJ, Jython, HttpClient, VaultAPI…
⬇ Download on ModrinthCodeLib
A Paper plugin that downloads and extracts common Java libraries for Coder addons.
What it does
- Downloads a curated set of libraries on startup
- Extracts each
.jarinto/plugins/CodeLib/extractedLibs/<name>/ - Self-disables once done — no persistent footprint
- Supports custom extra dependencies via
extraDeps.yml
Built-in Libraries
| Library | Version |
|---|---|
| Gson | 2.11.0 |
| Mozilla Rhino | 1.7.15 |
| LuaJ | 3.0.1 |
| Jython Standalone | 2.7.4 |
| Apache HttpClient 5 | 5.3.1 |
| Apache HttpCore 5 | 5.2.5 |
| OkHttp | 4.12.0 |
| Reflections | 0.10.2 |
| Guava | 33.2.1-jre |
| MVEL2 | 2.5.2.Final |
| ASM | 9.7 |
| Apache Commons Lang3 | 3.14.0 |
| Apache Commons IO | 2.16.1 |
| SnakeYAML | 2.2 |
| VaultAPI | 1.7.1 |
| LuckPerms API | 5.4 |
| ProtocolLib | 5.3.0 |
Building
mvn package
Output: target/CodeLib-1.2.4.jar
Project Structure
src/main/java/dev/codestuff/
├── bootstrap/
│ ├── CodeLibBootstrap.java # Paper bootstrapper
│ └── CodeLibInitializer.java # Paper plugin loader
└── codelib/
├── CodeLibPlugin.java # Main plugin class
├── CodeLibAddon.java # Addon interface
├── LibraryEntry.java # Library model
├── LibraryRegistry.java # All built-in libraries
└── manager/
├── ConfigManager.java # codelib-conf.yml + extraDeps.yml
└── DownloadManager.java # Download + extract logic
Links
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21, 1.21.1, 1.21.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
File checked by MCModsHub
- Ships as CodeLib-1.2.4.jar — drop this file into the mods folder
- Download size: 19 KB
- Download link checked 15 Oct 2026 — working
These come from our own check of the pack file, not from the source page.