Created
October 13, 2024 23:37
-
-
Save jasonsperske/67bcbaed4ec126421041b5ffa2be666e to your computer and use it in GitHub Desktop.
Minecraft MCP commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove the "downloads" object from 1.20.2_mcp.json | |
jq ".downloads = {}" 1.20.2_mcp.json | sponge 1.20.2_mcp.json | |
# update the "id" to match folder name | |
jq ".id = '1.20.2_mcp'" 1.20.2_mcp.json | sponge 1.20.2_mcp.json | |
# With the base files extrcted into a folder called `base` run the follwing command: | |
find base/. -type f -printf "%p\n" | cut -c 8- | xargs -L1 jar uf 1.20.2_mcp.jar -C base |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment