This is three instructions.
The first being addItems, which adds an item to the block at the relative coordinates. This uses the IInventory interface to achieve this.
The second being runTicks, which progresses the world state by the number of ticks specified (this lets the recipe run).
Then the final is checkTile, this uses a function that must be registered using
RegisterConditionals.conditionalRegister("ebfOutputCheck", TestConditional::isItemStackSizeOne);
This will then call the code here
public static boolean ebfOutputCheck(TileEntity tile, World world) {
return ((IInventory) tile).getStackInSlot(0).stackSize == 1;
}
In this instance, it will check if the tile entity (so the output bus) has an itemstack at slot 0 of size 1, if the recipe has processed and succeded, then this will return true to validate the condition. It will then print to the log whether this condition passed, failed or threw an exception. We can see that instructions generally have an optionalLabel they can print, to give any extra insight to the developer. In this case:
[20:56:44] [Server thread/INFO] [STDOUT]: Procedure CheckTile with optionalLabel OptionalIsSmelted processed in tick 1003 on the server thread.
[20:56:44] [Server thread/INFO] [STDOUT]: OptionalIsSmelted PASSED