





Hey everyone! I don't build maps myself, but I know how much mapmakers struggle with static Bedrock NPCs and the mess of command blocks needed to make them do anything interesting. So, I decided to build a proper solution for you all using the Script API.
In this video, I’m showing off a custom AI engine I'm developing to give NPCs a "Skyrim-style" daily routine.
☀️ Daytime (Working): The NPC walks their custom path and works at the anvil. Since vanilla NPCs are completely stiff, I created a custom animation in Blockbench. My engine has a custom UI where you can just type in the animation name (animation.npc.job), and the script automatically triggers it when the NPC reaches its workstation (essentially automating the /playanimation logic through the API).
🌙 Nighttime (Sleeping): At dusk, the AI dynamically interrupts the route, sends the NPC back to Node 0 (Home), and triggers a custom sleeping animation.
The pathfinding is 100% custom math (no vanilla AI jank) and requires absolutely zero command blocks. My goal is to provide mapmakers with a powerful tool to create living RPG worlds where they can easily plug in their own paths and Blockbench animations.
To all the mapmakers and creators out there: what other features would you want in an AI engine like this?
https://reddit.com/link/1u9e5gx/video/2km61a6bh38h1/player
>Sound ON! 🔊 I built this entire testing lab just to stress-test the custom raycasting and particle systems.
>Sound ON! 🔊 I wanted to make map-making easier and cities more alive without the lag of thousands of command blocks. Let me know what you guys think!