Advanced Commands Tutorial – Functions & Recursion using Advancement Rewards

The latest snapshots for Minecraft 1.12 include a completely new way of running commands – using Advancement-triggered command lists.

This tutorial shows how to use this new functionality to have instant function calls with a proper call stack and returns, as well as using recursion to implement loops.