A long time ago I had some fun with Minecraft Pi Edition. It was a cut down version of pocket edition exclusively for the Raspberry Pi, with an official Python API:
https://minecraft.wiki/w/Pi_Edition
There's also a (discontinued) Bukkit/Spigot plugin called RaspberryJuice which makes the same Python API work with a real Java edition server:
https://dev.bukkit.org/projects/raspberryjuice
The (official, though by now long dead) raspberry pi version has python scripting. TBH that's almost all it has going for it, besides being open source
Anyone with experience on programming Minecraft with python? Tips?