Minecraft: Pi Edition Scripting API

Scripting API Protocol Documentation: https://wiki.vg/Minecraft_Pi_Protocol

Scripting API Reference: https://www.stuffaboutcode.com/p/minecraft-api-reference.html

There are many forks of the MCPI API that give support to a different language:

Python: https://github.com/martinohanlon/mcpi

Golang: https://github.com/ancientlore/go-mcpi-api

Scratch 2: https://github.com/jbaragry/mcpi-scratch

Rust: https://github.com/MCPI-Revival/mcpi-api-rust

Java: https://github.com/agliznetsov/mcpi4j

C#: https://github.com/martinohanlon/CSharpMCPI

Common Lisp: https://github.com/cneira/cl-mcpi

Ruby: https://github.com/nhajratw/minecraft_api

F#: https://github.com/ChrisDobby/FsMinecraftPi

Lua: https://github.com/hashbangstudio/Lua-standalone-Minecraft-API

TypeScript: https://github.com/doinkythederp/mcpi-client

Perl: https://github.com/hashbangstudio/Perl-Minecraft-API

PHP: https://github.com/hashbangstudio/PHP-Minecraft-API

Bash: https://github.com/hashbangstudio/Bash-Minecraft-API

Swift: https://github.com/fwcd/swift-minecraft-pi

Haskell: https://github.com/markgrebe/haskell-craft

Node.js: https://github.com/remixz/minecraft-pi