farm diamonds minecraft code example Example: how to mine for diamonds minecraft dig down to y=11 and just start digging tunnels out in every direction