Milkbucket is an internal CLI tool by Modcafe for tooling, debugging, and managing Minecraft mods and datapacks.
It is built with Node.js and JavaScript.
Milkbucket requires Node.js and npm.
Using Homebrew:
brew install nodeVerify the installation:
node --version
npm --versionUsing winget:
winget install OpenJS.NodeJSVerify the installation:
node --version
npm --versionOn Debian/Ubuntu-based distributions:
sudo apt update
sudo apt install nodejs npmVerify the installation:
node --version
npm --versionInstall Milkbucket globally from npm:
npm install -g @modcafe/milkbucketOnce installed, the milkbucket command is available globally.
Check whether Milkbucket is available:
milkbucket --versionYou can also display the available commands:
milkbucket --helpThis section documents all available Milkbucket commands.
Displays a list of available commands and their descriptions.
milkbucket helpAliases:
milkbucket -h
milkbucket --helpDisplays the installed Milkbucket version.
milkbucket versionAliases:
milkbucket -v
milkbucket --versionDisplays information about the current project and environment.
milkbucket infoTools for inspecting and working with the current Minecraft project.
milkbucket projectDetects the type and configuration of the current project.
milkbucket project detectChecks the current project for common configuration problems.
milkbucket project validateBuilds the current Minecraft project.
milkbucket buildTools for inspecting project dependencies.
milkbucket depsLists the dependencies of the current project.
milkbucket deps listChecks whether the project's dependencies are valid.
milkbucket deps checkTools for working with Minecraft logs.
milkbucket logsDisplays or analyzes the latest log.
milkbucket logs latestAnalyzes the latest Minecraft crash report.
milkbucket crashTools for Modcafe development teams.
milkbucket teamChecks the local development environment.
milkbucket team doctorUpdate Milkbucket directly through npm:
npm update -g @modcafe/milkbucketTo install the latest version regardless of the currently installed version:
npm install -g @modcafe/milkbucket@latestYou can verify the installed version afterwards:
milkbucket --versionMilkbucket is developed using Node.js and JavaScript.
The repository is structured roughly as follows:
milkbucket/
├── cli.js
├── package.json
├── commands/
│ ├── help.js
│ ├── version.js
│ └── ...
└── lib/
├── commandInfo.js
└── ...
New commands should be added to the commands/ directory and registered in the command metadata.
Internal Modcafe tooling. MIT.