Environment Variables - ItzSkyReed/BACAP-Addon-Helper GitHub Wiki
To enable automated synchronization via the Sync Packs to Minecraft menu, create a .env file in your root working directory or set system environment variables. The tool verifies each target path and performs a clean copy of your packs directly into your local Minecraft installation:
# World datapacks folder without compatibility addons
WORLD_DATAPACKS_PATH="path/to/world/datapacks/folder/without/compatibility/addons"
# World datapacks folder for compatibility testing (syncs base addons + compatibility addons)
WORLD_COMPAT_DATAPACKS_PATH="path/to/world/datapacks/folder/with/compatibility/addons"
# Local Minecraft resourcepacks folder (to sync language packs)
RESOURCE_PACKS_PATH="path/to/resourcepacks/folder"
WORLD_DATAPACKS_PATH: Target worlddatapacks/directory.WORLD_COMPAT_DATAPACKS_PATH: Target worlddatapacks/directory in the world, used for testing base + compatibility addons.RESOURCE_PACKS_PATH: Target.minecraft/resourcepacks/directory where discovered language resource packs are synchronized.
Note: Paths are only active if the destination directories exist on disk.