Coding with scratch
If you've got the Python support, you can do a quick test that the mod is working without interfacing with Scratch. If you want the Python support, download the Python scripts package and put the contents (an mcpipy subdirectory) in your. minecraft directory ( %APPDATA%\.minecraft on Windows), create a mods subdirectory, and copy the contents of mods.zip into there. If you are on a different operating system (or like to do things manually), then download mods.zip instead.
This will also install Python in addition to the mod, allowing for more advanced Minecraft programming once Scratch is outgrown. On Windows, you can just download the easy. You can get RaspberryJamMod from its releases page. Note: Microsoft has their own block-based programming system for their Windows 10 Minecraft: Education Edition. This Instructable covers installation and setup, and describes a number of example programs. You might be be able to use a Spigot server with a RaspberryJuice plugin instead of Minecraft+Forge+RaspberryJamMod, if you can also set up a websockets-to-tcp proxy on your server.
However, I will include an appendix explaining how to use the Minecraft Scratch extension with Raspberry PI Minecraft, together with a Python proxy script. RaspberryJamMod only works with Java Minecraft 1.12.2 (and some earlier versions). I assume you already have Minecraft installed. These instructions will be mostly designed around Windows but should work on any other system that can run the Java version of Minecraft. I now wrote a browser-based Scratch 3.0 extension that interacts with RaspberryJamMod and lets you (or your kids or students) make block-based programs that run in Minecraft, including turtle graphics. Some years back I wrote RaspberryJamMod, a mod designed for programming Minecraft in Python.