Skip to content

Instantly share code, notes, and snippets.

@njt1982
Last active September 3, 2022 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save njt1982/05f78bb08ec54b9b542545c7ec2d2776 to your computer and use it in GitHub Desktop.
Save njt1982/05f78bb08ec54b9b542545c7ec2d2776 to your computer and use it in GitHub Desktop.
Script for "bookmarking" my favourite https://bedrocktweaks.net/resource-packs downloads
#!/bin/bash -x
PACKS=(
"aesthetic:different_stems"
"terrain:circular_sun_and_moon"
"variation:variated_bookshelves"
"peace_and_quiet:quieter_bees"
"peace_and_quiet:quieter_cows"
"peace_and_quiet:quieter_ghasts"
"peace_and_quiet:quieter_sheep"
"peace_and_quiet:quieter_shulkers"
"peace_and_quiet:quieter_villagers"
"peace_and_quiet:quieter_minecarts"
"peace_and_quiet:quieter_nether_portals"
"peace_and_quiet:quieter_pistons"
"utility:ore_borders"
"utility:budding_amethyst_borders"
"utility:sticky_piston_sides"
"utility:directional_hoppers"
"utility:directional_observers"
"utility:clean_redstone_dust"
"utility:compass_lodestone"
"utility:brewing_guide"
"unobtrusive:clean_glass"
"unobtrusive:clean_stained_glass"
"unobtrusive:clean_tinted_glass"
"unobtrusive:unobtrusive_scaffolding"
"unobtrusive:lower_fire"
"unobtrusive:lower_shield"
"unobtrusive:orange_pumpkin_overlay"
"unobtrusive:no_vignette"
"gui:quick_crafting"
"gui:numbered_hotbar"
"gui:dark_ui"
"gui:trading_helper"
)
CURL_PARAMS=""
for PACK in ${PACKS[@]}; do
CURL_PARAMS+=" -F packs=resource_packs:${PACK}"
done
VERSION=$(date +'%Y%m%d')
curl $CURL_PARAMS -X POST -o nicks-resources.mcpack -F pack-name="Nicks Resources V${VERSION}" https://bedrocktweaks.net/resource-packs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment