No description
- Kotlin 96.3%
- Java 3.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The bar above the Depths pickaxe is not always called Heat (it showed Singular), so its pickaxe number was read as normal Mining Power. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
| art | ||
| gradle | ||
| src | ||
| .gitignore | ||
| build.gradle.kts | ||
| CHANGELOG.md | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| MODRINTH.md | ||
| README.md | ||
| settings.gradle.kts | ||
| stonecutter.gradle.kts | ||
MC+
Client mod for the Minecrement server. Fabric, Kotlin, one codebase for Minecraft 1.21.11, 26.1.2 and 26.2 via Stonecutter.
Building
./gradlew build collectJars # every version, jars land in build/libs/
./gradlew :26.2:build # one version
./gradlew runActive # launch the active version (see stonecutter.gradle.kts)
Releasing
- Bump
mod_versioningradle.propertiesand add a## <version>section toCHANGELOG.md(it becomes the release notes).release_typeisrelease,betaoralpha. - Commit and push.
./gradlew publishReleasecreates the Forgejo release (tagv<version>, all jars), uploads each Minecraft version to Modrinth and syncs the Modrinth page fromMODRINTH.md(./gradlew publishModrinthPagedoes only that).
Tokens come from FORGEJO_TOKEN / MODRINTH_TOKEN or ~/.config/mcplus-forgejo-token /
~/.config/mcplus-modrinth-token. ./gradlew publishModrinth does Modrinth only;
add -PmodrinthDebug to print the uploads without sending them.
Layout
| Package | What lives there |
|---|---|
compat |
The only Kotlin code that knows the Minecraft version (Mc, Gfx, Hooks, McScreen). |
mixin (Java) |
Thin hooks that call core/MixinBridge. |
core |
Event bus, tick scheduler. |
config |
Settings model (kotlinx-serialization) and the YACL screen. |
stats |
Scoreboard, action bar and trophy readers. |
features/* |
Chat filter, mining, automation, pets, HUD elements, webhooks, misc. |
Version branches use Stonecutter comments, e.g. //? if >=26.1 { ... //?} else { /* ... *///?}.
Commands
/mcplus (/mcp) settings · /mcplus hud HUD editor · /autogear (/ag) ·
/tpbestmine (/tpbm) · /tpbestdepth (/tpbd) · /calculatebestmine ·
aliases /ge /pr /asc /tr /pa.
License
MIT, see LICENSE.