The Raspberry Jam Mod, for Forge and Minecraft 1.8-1.11.2 (1.9-1.11.2 is recommended), implements most of the Raspberry Pi Minecraft protocol.
The protocol lets you run python scripts to draw stuff in Minecraft. A nice introduction is here.
The scripts I've tested run without modification on my Windows system with the mod. Of course, you need python (or go or Haskell, all of which have libraries for the protocol, I believe).
Previously, doing this required either buying or emulating a Raspberry Pi, or setting up a Bukkit server with the Raspberry Juice plugin. But for playing around in single-player, running your own server is overkill.
I am completely new to Minecraft modding, and indeed know almost nothing about Minecraft. Writing this mod over the last two days was literally the most time I've ever spent with Minecraft. I probably screwed up in multiple ways. I did this for my daughter, to encourage her learning python. [Edit: Well, this was true when I first released the mod in 2015. Now the mod has gone through many, many revisions.]
I have now implemented all of the Raspberry Juice protocol for singleplayer, and added a /python script command that lets you run script.py directly from Minecraft. Just unzip all the contents of mcpipy-master (including subdirectories) in mcpipy.zip into a mcpipy subdirectory of your Minecraft directory (the same directory with your mods folder) and you can then, e.g., do /python nt7s_sphere to run the sphere script.
I've also run across another project that implements the Raspberry Juice protocol in a mod for 1.7.10. I got the idea for the /python command from them.
Just released 0.07, which pipes messages from scripts into the Minecraft chat display if you start the script with /py[thon]. This makes debugging scripts easier.
You can get and install overwolf which is a free application that will both allow you to live stream and make videos, as well as a bazillion extra abilities.
Or you can get bandicam from http://www.bandicam.com and use their free version to make 10 minute vidoes that posess a watermark. I use bandicam for my videos as feel it is the best. I've tried fraps and others but felt them to complicated to use or cumbersome.
From there it is a simple matter of uploading the video.
Alternatively, youtube offers its own tools for recording the screen and uploading as well as streaming, but I don't think their streaming is all that popular.
I posted an 0.10 update to the mod. I've also added a bunch of new scripts to the script pack, most notably an easy to use turtle class. For instance, you can draw a 7-sided glass star with:
from mcturtle import *
t = Turtle()
t.penwidth(5)
t.penblock(GLASS)
for i in range(7): t.go(100); t.right(180.0-180./7)
For more information on the turtle class, and on other cool things you can do with this, see my instructable.
In 0.12, I added support for spawning entities. For instance, you can do stuff like:
Pos = mc.player.getPos()
id = mc.spawnEntity(HORSE, playerPos.x + 2, playerPos.y, playerPos.z, "{NoAI:1}")
mc.entity.setRotation(id,120)
...
pos = mc.entity.getPos(id)
mc.entity.setPos(pos.x, pos.y+3, pos.z) # make horse float (it's got NoAI so it won't fall)
...
mc.removeEntity(id)
You can also use the turtle class to do turtle-graphics using almost any creature as your turtle (the Ender Dragon doesn't work, as its NoAI attribute doesn't work).
I've just released 0.14. I've made some bug fixes. And I've updated the instructions in the Instructable.
The latest version of my python scripts package also enhances the turtle graphics package with code for drawing filled polygons (startface() and endface()) and a push()/pop() state stack which makes it possible to implement L-systems. For instance the following tree is drawn with turtle graphics driven by an L-system based on geeky.blogger's rules (with parameter changes): lsystem.py in my package.
After running the installer, you can edit scripts with IDLE for Minecraft Python (link on desktop and in start menu): File|Open and then you can see lots of samples. You can also run scripts right from Minecraft. Some fun things to try:
The Raspberry Jam Mod, for Forge and Minecraft 1.8-1.11.2 (1.9-1.11.2 is recommended), implements most of the Raspberry Pi Minecraft protocol.
The protocol lets you run python scripts to draw stuff in Minecraft. A nice introduction is here.
The scripts I've tested run without modification on my Windows system with the mod. Of course, you need python (or go or Haskell, all of which have libraries for the protocol, I believe).
Previously, doing this required either buying or emulating a Raspberry Pi, or setting up a Bukkit server with the Raspberry Juice plugin. But for playing around in single-player, running your own server is overkill.
I am completely new to Minecraft modding, and indeed know almost nothing about Minecraft. Writing this mod over the last two days was literally the most time I've ever spent with Minecraft. I probably screwed up in multiple ways. I did this for my daughter, to encourage her learning python. [Edit: Well, this was true when I first released the mod in 2015. Now the mod has gone through many, many revisions.]
Here is the mod and the source code. Installation and usage instructions are here.
(Yes, the chess game basically works: you can play against the computer or watch the computer play against itself.)
I've also run across another project that implements the Raspberry Juice protocol in a mod for 1.7.10. I got the idea for the /python command from them.
Or you can get bandicam from http://www.bandicam.com and use their free version to make 10 minute vidoes that posess a watermark. I use bandicam for my videos as feel it is the best. I've tried fraps and others but felt them to complicated to use or cumbersome.
From there it is a simple matter of uploading the video.
Alternatively, youtube offers its own tools for recording the screen and uploading as well as streaming, but I don't think their streaming is all that popular.
I wrote up an Instructable on how to use this.
This is for Raspberry Pi?
Minecraft: the best programmed and worst managed game I know of.
No, it for Desktop Minecraft. More precisely, it's a mod the emulates the Raspberry Pi Minecraft protocol with Desktop Minecraft.
I posted an 0.10 update to the mod. I've also added a bunch of new scripts to the script pack, most notably an easy to use turtle class. For instance, you can draw a 7-sided glass star with:
For more information on the turtle class, and on other cool things you can do with this, see my instructable.
In 0.12, I added support for spawning entities. For instance, you can do stuff like:
You can also use the turtle class to do turtle-graphics using almost any creature as your turtle (the Ender Dragon doesn't work, as its NoAI attribute doesn't work).
I've just released 0.14. I've made some bug fixes. And I've updated the instructions in the Instructable.
The latest version of my python scripts package also enhances the turtle graphics package with code for drawing filled polygons (startface() and endface()) and a push()/pop() state stack which makes it possible to implement L-systems. For instance the following tree is drawn with turtle graphics driven by an L-system based on geeky.blogger's rules (with parameter changes): lsystem.py in my package.
To make all this easier to install, I made a single Windows exe installer for the mod, Python and a bunch of sample scripts here:
https://github.com/arpruss/raspberryjammod/releases
You need to have Forge for 1.8 installed first.
After running the installer, you can edit scripts with IDLE for Minecraft Python (link on desktop and in start menu): File|Open and then you can see lots of samples. You can also run scripts right from Minecraft. Some fun things to try:
/py borromean
/py donut
/py lsystem
/py spacefill
/py mengersponge
/py clock
/py mandelbrot
To quit a running script, just do:
/py