Readit News logoReadit News
gilesknap commented on Show HN: Learn Python with Minecraft   github.com/gilesknap/mciw... · Posted by u/gilesknap
tempaway45754 · 3 years ago
Minecraft Education edition already does this.

Press C, code window appears, you can use Python, Javascript or a visual Scratch-like language, controlling an agent in the minecraft world to go and do things

https://education.minecraft.net/en-us/resources/computer-sci...

gilesknap · 3 years ago
I've taken a detailed look at MC EE vs MCIWB and taken some notes here: https://gilesknap.github.io/mciwb/main/user/explanations/mce...
gilesknap commented on Show HN: Learn Python with Minecraft   github.com/gilesknap/mciw... · Posted by u/gilesknap
gilesknap · 3 years ago
Believe it or not I did not know about this. I'm aware of Education Edition but the projects in MakeCode look more sophisticated than I expected.

I'm going to take a look into it and come back to you on this question!

gilesknap · 3 years ago
I've looked into MC EE and MakeCode.

Here is my summary of findings https://gilesknap.github.io/mciwb/main/user/explanations/mce...

gilesknap commented on Show HN: Learn Python with Minecraft   github.com/gilesknap/mciw... · Posted by u/gilesknap
billyjobob · 3 years ago
Nope, it uses regular Minecraft with https://pypi.org/project/mcpi/ and https://dev.bukkit.org/projects/raspberryjuice so full Python.
gilesknap · 3 years ago
Thanks for the link. I did not know about raspberry juice.

It does provide a similar capability to MCIWB. It recreates the Education edition python interface which does let you set and get blocks and see when a player hits something.

Its a solution for people who learn education edition and then want to run the same code at home on a BUkkit server. (Bukkit is a Java server mod )

gilesknap commented on Show HN: Learn Python with Minecraft   github.com/gilesknap/mciw... · Posted by u/gilesknap
lifebeyondfife · 3 years ago
When I worked at Skyscanner, we'd volunteer at events where high school kids would be shown tech stuff. We'd setup Raspberry Pis with Minecraft on them and show them some basics of running Python scripts to alter the world (with the conclusion being programmatically create loads of dynamite blocks and explode them). Then at the end of the session, give every kid their own Raspberry Pi.

It was interesting reaching the occasional child who assumed this kind of thing wasn't for them.

gilesknap · 3 years ago
Before I started MCIWB I hosted Minecraft servers on my Raspberry Pi during lockdown. My son would meet up with friends on these servers every day.

I was impressed how low resource requirements are for the server.

We had quite big world's with 5 or more players running pretty well.

The client is a different story and the graphics capability of a pi is five for pi edition but struggles with the others.

gilesknap commented on Show HN: Learn Python with Minecraft   github.com/gilesknap/mciw... · Posted by u/gilesknap
caseyf · 3 years ago
whoa it'd be cool to use this to build an experience within minecraft where a world builds up around the player as they move around it.
gilesknap · 3 years ago
Yes, you could absolutely do that. I've even used it to create moving structures that players can get inside and be carried around in.
gilesknap commented on Show HN: Learn Python with Minecraft   github.com/gilesknap/mciw... · Posted by u/gilesknap
askvictor · 3 years ago
What's the advantage over MakeCode for Minecraft (other than that requiring Minecraft education edition)?
gilesknap · 3 years ago
Believe it or not I did not know about this. I'm aware of Education Edition but the projects in MakeCode look more sophisticated than I expected.

I'm going to take a look into it and come back to you on this question!

gilesknap commented on Show HN: Learn Python with Minecraft   github.com/gilesknap/mciw... · Posted by u/gilesknap
amarant · 3 years ago
Curious timing! I signed my niece up for a programming course for children yesterday where they are going to learn python with Minecraft!

Now I wonder if they'll use your project, or if there's another similar project they'll be using?

Regardless, the idea is great! I wish you luck!

gilesknap · 3 years ago
It won't be MCIWB :-) Nobody had heard of it until last week! :-)

They may be using Minecraft Education Edition which as come up a few times in the above conversations.

gilesknap commented on Show HN: Learn Python with Minecraft   github.com/gilesknap/mciw... · Posted by u/gilesknap
RamenJunkie_ · 3 years ago
Last time I looked into it, which I do fairly often because Education Edition has some interesting features not in other versions, you need to be an educator to even get a license for Education Edition.
gilesknap · 3 years ago
Well that's a shame because I am pretty sere education edition supports RCON so I could adapt MCIWB to use it.

I happen to know that EE commands include the elusive 'GetBlock' that let's you query the contents of the world. I had to jump through some embarrassing hoops to provide this function for MCIWB.

u/gilesknap

KarmaCake day71July 12, 2019
About
Developer for the UK Synchrotron.
View Original