# This function will ensure every official add-on datapack gets installed properly

# Hardcore install
datapack disable "file/BlazeandCave's Advancements Pack Hardcore.zip"
datapack enable "file/BlazeandCave's Advancements Pack Hardcore.zip" last
#failsafe
datapack disable "file/BlazeandCave's Advancements Pack Hardcore"
datapack enable "file/BlazeandCave's Advancements Pack Hardcore" last

# Stardust Labs install

# Nullscape
datapack disable "file/BlazeandCave's Advancements Pack Nullscape.zip"
datapack enable "file/BlazeandCave's Advancements Pack Nullscape.zip" last
#failsafe
datapack disable "file/BlazeandCave's Advancements Pack Nullscape"
datapack enable "file/BlazeandCave's Advancements Pack Nullscape" last

# Amplified Nether
datapack disable "file/BlazeandCave's Advancements Pack Amplified Nether.zip"
datapack enable "file/BlazeandCave's Advancements Pack Amplified Nether.zip" last
#failsafe
datapack disable "file/BlazeandCave's Advancements Pack Amplified Nether"
datapack enable "file/BlazeandCave's Advancements Pack Amplified Nether" last

# Terralith
datapack disable "file/BlazeandCave's Advancements Pack Terralith.zip"
datapack enable "file/BlazeandCave's Advancements Pack Terralith.zip" last
#failsafe
datapack disable "file/BlazeandCave's Advancements Pack Terralith"
datapack enable "file/BlazeandCave's Advancements Pack Terralith" last


# Fanpack handling

function #bacap_fanpacks:install
