@mctools/reducer
v1.3.0
Published
Partially disable minecraft mods
Maintainers
Readme
Partially disable minecraft mods
Usage
Open console, navigate to your Minecraft directory (one with the mods/ directory or options.txt file)
> cd C:/Instances/MyModpackRun:
> npx @mctools/reducer --help
Options
Partially disable minecraft mods
AGENT LOOP (the common path)
reducer restart --detach reboot (change mods first if you like), return at once
reducer ready --wait block until the game is loaded & ready for commands
reducer restart --only "Mod A" block-reboot with only Mod A (+deps); reports LOAD + SCRIPTS
MORE
reducer open the interactive TUI (for humans)
reducer restart --full reboot with every mod enabled
reducer restart --disable A --enable B combined; refuses self-excluding requests
reducer ready answer once: is it ready right now? (exit 0/1)
reducer status liveness + roster / diagnostics / weight
reducer find jei thaum 1234 resolve queries → ./mods/<jar> paths
reducer kill kill the running game
reducer ./conditions.ts automated binary search (see below)
reducer --continue / --new resume / discard an interrupted session
Readiness is mod-agnostic: a pack declares extra signals (ready.logPattern /
ready.tcpPort) in reducer.config.yml; without them a bare Forge launch is still
detected via "FML loaded + log quiet". Add --dry/-y to log changes as "assumed". (@mctools/reducer v0.1.0)
USAGE @mctools/reducer [OPTIONS] restart|ready|kill|find|status|binary
OPTIONS
-m, --cwd="./" Minecraft dir with mods/ and minecraftinstance.json
-y, --dry Dry run: change no files/processes; log status as "assumed"
-f, --force Binary search: ignore config validation problems
-c, --continue Resume a previously interrupted session
-n, --new Discard an interrupted session and start fresh
-t, --trusted Binary search: mods kept disabled (known-good)
-i, --ignored Binary search: mods kept enabled (untouched)
COMMANDS
restart Restart Minecraft; optionally change the mod set first
ready Is the game loaded & ready for commands right now? (mod-agnostic)
kill Kill the running Minecraft process for this instance
find Resolve queries to ./mods/<jar> paths
status Print the non-interactive dashboard (roster, diagnostics, weight)
binary Automated binary search via a conditions.{ts,mjs,js} file (also runs as the bare reducer <config> form)
Use @mctools/reducer <command> --help for more information about a command.Author
- https://github.com/Krutoy242
Other tools
- @mctools/errors - Scan debug.log file to find unknown errors
- @mctools/format - Format .zs files by using ESLint for typescript
- @mctools/manifest -
manifest.jsongeneration tool - @mctools/modlist - Generate .md file with all mods listed
- @mctools/reducer - Partially disable minecraft mods
- @mctools/source - Locate, clone or decompile Minecraft mod source code
- @mctools/tcon - Tweaks Tinker Constructs' materials with csv tables
- @mctools/zsfind - Look up ZenScript class definitions, fields and method signatures from CraftTweaker dumps
