Minecraft: Education Edition can now teach kids how to code with the new Code Builder tool and the 'Agent', an in-game robot. Mojang will add Command Blocks in Education Edition later this year.
With each new Java platform release, the stewards of the language always include a few new preview features that can be toyed with only if a developer knows how to unlock the capabilities at runtime.