Playing Minecraft God: Talking to a Canary server using Jython

Channel:
Subscribers:
147
Published on ● Video Link: https://www.youtube.com/watch?v=j4JfwS5hNlw



Minecraft
Game:
Minecraft (2011)
Duration: 5:16
4,176 views
37


This is an update for my previous video (https://www.youtube.com/watch?v=rI3PfgCSI7Y).

* Blog post with full info at: http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html
* GitHub repo at: https://github.com/Macuyiko/MinecraftPythonConsole

Canary comes with a Java plugin API which allows you to create your own plugins / commands / tools for use within the game. However, I wanted to see if it was possible to spawn an interpreter giving me direct access to the world in Minecraft, allowing me to programmatically control the game without requiring a "write plugin--compile jar--load in Canary"-step and thus allowing more direct access.

After tinkering a bit with Canary, and with some help from Jython (a Python implementation in Java), it turns out that, indeed, you can.

I show some example "fun" stuff you can perform in Minecraft using Python. For future work, it would be cool to implement some procedural generation stuff (like complex structures) using this system, or perhaps games or teaching projects.

This was inspired by projects such as Raspberry Pi Minecraft and ScriptCraft.

Links:
* CanaryMod: http://canarymod.net/
* Jython: http://www.jython.org
* Minecraft: http://www.minecraft.net
* My blog: http://blog.macuyiko.com







Tags:
minecraft
mod
plugin
python
programming
jython
java
modding
teaching



Other Statistics

Minecraft Statistics For Macuyiko

Macuyiko presently has 7,793 views for Minecraft across 5 videos, and less than an hour worth of Minecraft videos were uploaded to his channel. This makes up 53.53% of the content that Macuyiko has uploaded to YouTube.