That's the closest they've come and all that lets you do is stuff like make pigs behave like a creeper and explode when the player gets too close. I guess they finally have behavior packs like resource packs for Bedrock edition (used to be Minecraft PE) but that doesn't allow you to write any kind of turing complete code for custom behaviors. Mojang promised for years and years that 'the modding API will be released any time now' yet they haven't done anything to materially support the modding community other than to hire Searge and the Bukkit team. If Searge didn't step up and do it there's no reason to believe that Mojang ever would have come up with something similar.
That doesn't change the fact that Mojang didn't make MCP.