8274928c2e
1. Add a comment inside each script to indicate main execution branch 2. Ask before overwriting the resulting resource pack in the resource pack directory of Minecraft. Windows CMD script uses `move /-Y ...`, Bash script uses `mv -i ...`. 3. Ensure that no errors pass during the `cave_sounds_limit` loop 4. Improve version checking algorithm 5. Merge functions `prepare` and `build` as `build` 6. Move some of the features of `clean` function outside 7. Split `packname` into `packname`, `packname_prefix`, `packname_ext` for cleaning function and to improve code maintainability 8. build.bat: Fix the mistake of using `||` as the operator to indicate logical OR in condition 9. build.sh: Do not `exit` from functions 10. build.sh: Ensure that the indentation style is consistent 11. build.sh: Extract function `pause` 12. build.sh: In `amkdir`, call `mkdir` as `mkdir -p ...` to create directories recursively 13. build.sh: Move the initial constants into the beginning of file 14. build.sh: Remove dead code |
||
---|---|---|
src | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
README.md | ||
build.bat | ||
build.sh |
README.md
Anti-Cave Noises Resource Pack
A Minecraft audio-only resource pack crafted to replace the ambient cave sounds.
Building
Requirements:
- 7-Zip or package
p7zip
should be installed and available as a simple command7z
; - Environmental variable
$MINECRAFT_PATH
/%MINECRAFT_PATH%
to be set and pointing to the actual game path.
*nix systems
Building on Unix-like systems requires the presence of Bash for the build script to work.
./build.sh
# or
. build.sh
# or
bash ./build.sh
Windows
.\build.bat
rem or
cmd.exe .\build.bat
Legal notice
Legal notice: This free, open-source resource pack is an independent creation and is not affiliated with Minecraft or Microsoft. Any references to Minecraft or Microsoft are for descriptive purposes only. Use of this resource pack is subject to the terms and conditions outlined in the accompanying license.