#!/bin/bash rm -rf mods mkdir mods cd mods git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/digilines.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/mesecons.git git clone --recurse-submodules --depth 1 --branch master https://github.com/mt-mods/xcompat.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/3d_armor.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/unified_inventory.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/unifiedbricks.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/moreblocks.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/moreores.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/mywalls.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/xdecor.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/vehicle_mash.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/lib_mount git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/workbench.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/ts_furniture.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/playeranim.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/skinsdb.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/letters.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/ts_doors.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/trash_can.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/throwing_arrows.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/throwing.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/stained_glass.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/xban2.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/drinks.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/jukebox.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/carpets.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/chat2.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/mymillwork.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/signs_api.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/crops.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/mtfoods.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/mysheetmetal.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/ts_workshop.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/myroofs.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/ts_paper.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/mydeck.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/enchanting.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/interact.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/stargate.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/mypaths.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/mycorners.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/mymasonhammer.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/mywoodslopes.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/display_api.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/font_api.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/trees_lib.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/intllib.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/more_chests.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/flowerpot.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/cloud_items.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/compost.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/death_compass.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/smartfs.git git clone --recurse-submodules --depth 1 --branch master https://github.com/mt-mods/unifieddyes.git git clone --recurse-submodules --depth 1 --branch master https://github.com/mt-mods/basic_materials.git git clone --recurse-submodules --depth 1 --branch master https://github.com/mt-mods/biome_lib.git git clone --recurse-submodules --depth 1 --branch master https://github.com/mt-mods/moretrees.git git clone --recurse-submodules --depth 1 --branch master https://github.com/mt-mods/homedecor_modpack.git git clone --recurse-submodules --depth 1 --branch master https://github.com/mt-mods/signs_lib.git git clone --recurse-submodules --depth 1 --branch master https://github.com/mt-mods/currency.git git clone --recurse-submodules --depth 1 --branch master https://github.com/mt-mods/plantlife_modpack.git git clone --recurse-submodules --depth 1 --branch master https://github.com/mt-mods/new_campfire.git git clone --recurse-submodules --depth 1 --branch master https://github.com/mt-mods/coloredwood.git git clone --recurse-submodules --depth 1 --branch master https://github.com/mt-mods/basic_signs.git git clone --recurse-submodules --depth 1 --branch master https://cheapiesystems.com/git/roads git clone --recurse-submodules --depth 1 --branch master https://github.com/mt-mods/blox.git git clone --recurse-submodules --depth 1 --branch master https://github.com/cheapie/plasticbox.git git clone --recurse-submodules --depth 1 --branch master https://github.com/torusJKL/charcoal.git git clone --recurse-submodules --depth 1 --branch master https://github.com/Sokomine/windmill.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/farming.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/protector.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/playerplus.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/mobs_npc.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/mobs_redo.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/mobs_water.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/mobs_monster.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/mobs_animal.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/mob_horse.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/bows.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/builtin_item.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/bonemeal.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/stamina.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/wine.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/bees.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/wool.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/regrow.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/ambience.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/bakedclay.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/stairs.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/anvils.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/carts.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/doors.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/pie.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/castle.git git clone --recurse-submodules --depth 1 --branch master https://codeberg.org/tenplus1/mobs_sky.git git clone --recurse-submodules --depth 1 --branch master https://github.com/Uberi/Minetest-WorldEdit.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/realchess.git git clone --recurse-submodules --depth 1 --branch master https://github.com/Grizzly-Adam/BBQ.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/mydoors.git git clone --recurse-submodules --depth 1 --branch master https://github.com/TumeniNodes/angledwalls.git git clone --recurse-submodules --depth 1 --branch master https://github.com/pyrollo/display_modpack.git git clone --recurse-submodules --depth 1 --branch master https://github.com/Sokomine/cottages.git git clone --recurse-submodules --depth 1 --branch master https://github.com/joe7575/techpack.git git clone --recurse-submodules --depth 1 --branch master https://github.com/random-geek/morelights.git git clone --recurse-submodules --depth 1 --branch master https://repo.or.cz/minetest_mtg_plus.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/spectator_mode.git git clone --recurse-submodules --depth 1 --branch master https://github.com/Extex101/christmas.git git clone --recurse-submodules --depth 1 --branch master https://github.com/mt-mods/gloopblocks.git git clone --recurse-submodules --depth 1 --branch master https://github.com/minetest-mods/mylandscaping.git git clone --recurse-submodules --depth 1 --branch master https://github.com/mt-mods/minislots.git git clone --recurse-submodules --depth 1 --branch master https://github.com/v-rob/bridger.git git clone --recurse-submodules --depth 1 --branch master https://github.com/AiTechEye/smartshop.git git clone --recurse-submodules --depth 1 --branch master https://repo.or.cz/minetest_colorcubes.git git clone --recurse-submodules --depth 1 --branch master https://github.com/DonBatman/myboardgames.git git clone --recurse-submodules --depth 1 --branch master https://github.com/mt-mods/ilights.git git clone --recurse-submodules --depth 1 --branch master https://github.com/TumeniNodes/angledstairs.git git clone --recurse-submodules --depth 1 --branch master https://github.com/TumeniNodes/artdeco.git git clone --recurse-submodules --depth 1 --branch master https://github.com/TumeniNodes/facade.git git clone --recurse-submodules --depth 1 --branch master https://github.com/TumeniNodes/stoneworks.git git clone --recurse-submodules --depth 1 --branch master https://github.com/Delaroyas/simplyslopes.git git clone --recurse-submodules --depth 1 --branch master https://github.com/joe7575/tubelib2.git git clone --recurse-submodules --depth 1 --branch master https://github.com/Ezhh/abriflame.git git clone --recurse-submodules --depth 1 --branch master https://github.com/Ezhh/abriglass.git git clone --recurse-submodules --depth 1 --branch master https://github.com/brittm3/Minetest-lpanes.git git clone --recurse-submodules --depth 1 --branch master https://github.com/qwrwed/lightsplus.git git clone --recurse-submodules --depth 1 --branch master https://github.com/khonkhortisan/rubiks.git git clone --recurse-submodules --branch master https://git.bananach.space/advtrains.git git clone --recurse-submodules --depth 1 --branch master https://github.com/Dragonop/claycrafter git clone --recurse-submodules --depth 1 --branch master https://notabug.org/NetherEran/hot_air_balloons.git git clone --recurse-submodules --branch master https://cheapiesystems.com/git/prefab_redo git clone --recurse-submodules --branch master https://cheapiesystems.com/git/mail git clone --recurse-submodules --branch master https://github.com/mt-mods/home_workshop_modpack.git git clone --recurse-submodules --branch master https://git.bananach.space/basic_trains.git #Clean git stuff rm -rf $(find . -name .git*) #Make some fixes #1 if [[ $(grep -R "run_at_every_load = false" homedecor_modpack/homedecor_kitchen/init.lua | wc -l) = 1 ]] then echo "Applying fix for unknown kitchen_cabinet blocks: https://git.my-web.xyz/milan/minetest-mm/issues/34" echo "This fix can be removed after some time" sed -i 's/run_at_every_load = false,/run_at_every_load = true,/' homedecor_modpack/homedecor_kitchen/init.lua fi #2 sed -i 's/homedecor/homedecor?/' plasticbox/depends.txt #3 sed -i 's/loadfile(minetest.get_modpath(minetest.get_current_modname()) .. "\/car.lua")(table.copy(car_def))//' cloud_items/init.lua rm -f cloud_items/car.lua #update skins-db cd skinsdb/updater python3 update_skins.py