It Helps To Double Check Things

Claimed Badge: Dooh

They say the definition of insanity is trying the same thing continuously and expecting the same result. This is certainly the case, especially when you decide to do this for nearly 2 hours… 🙈

When creating TypeScript scripts for Minecraft Bedrock, the default settings will always deploy out the scripts to the following folder location:

C:\Users\<User Name>\AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\development_resource_packs\

But the correct location is actually here, which is always helpfully confirmed by inspecting the behaviour pack details in Minecraft itself:

C:\Users\<User Name>\AppData\Roaming\Minecraft Bedrock\Users\Shared\games\com.mojang\development_behavior_packs\development_behavior_packs\ACDCExperiments\scripts

An MVP who will remain nameless here should have just checked this straight way, realised the issue and then updated their .env file as follows:

PROJECT_NAME=”ACDCExperiments”

MINECRAFT_PRODUCT=”Custom”

CUSTOM_DEPLOYMENT_PATH=”C:\Users\<User Name>\AppData\Roaming\Minecraft Bedrock\Users\Shared\games\com.mojang\development_behavior_packs”

Instead, it seems that instead spending at least 15 times and nearly two hours running the same deployment script to try and fix the issue was the more, I guess, insane option. Many reasons can be claimed to cause this – old age, a few too many drinks the night before, or even just sheer stubbornness – but I will let you, dear judge, draw your own conclusions here.