News for hackers. Stuff that matters.
Re:Pycraft: Minecraft engine in Python by asimuvPR on Monday April 18, 2016 @10:53PM (#11524596)
I've always wanted to have an MC clone in Python with GUI event hooks to run scripts. Like pull a lever and an email is sent sort of thing. Will this fork allow for something like that? I'm not against adding it myself if allowed, btw.
Re:Pycraft: Minecraft engine in Python by NoWhiteHorse on Tuesday April 19, 2016 @06:40AM (#11526038)
There is also ScriptCraft - https://github.com/walterhiggins/ScriptCraft Here you can hook JavaScript code into Minecraft events.
Re:Pycraft: Minecraft engine in Python by shmageggy on Monday April 18, 2016 @11:36PM (#11524707)
It's build on top of pyglet which is built around event-based programming, so it's already got the ability to do low-level callbacks from key/mouse events built in [1]. GUI widgets are a separate matter though and would probably require a separate library to do OpenGL GUI elements on top of this.

[1] https://pyglet.readthedocs.org/en/pyglet-1.2-maintenance/pro...

Re:Pycraft: Minecraft engine in Python by asimuvPR on Monday April 18, 2016 @11:43PM (#11524728)
Reading the docs, thanks!
Re:Pycraft: Minecraft engine in Python by voltagex_ on Tuesday April 19, 2016 @03:13AM (#11525342)
You could always give me a hand to get https://github.com/voltagex/minecraft-rebridge up and running again, and then use HTTP from Python to talk to Minecraft-proper ;)
Re:Pycraft: Minecraft engine in Python by asimuvPR on Tuesday April 19, 2016 @01:27PM (#11528584)
Seems interesting! Would this run on a raspberry pi? I'd love to email to see if we can collaborate in some way. My address is in my profile. :)
Re:Pycraft: Minecraft engine in Python by voltagex_ on Tuesday April 19, 2016 @07:44PM (#11531370)
If you can run a Forge-enabled standard Minecraft server on the Pi, then yes. Development on the Pi would be painful, though.
Re:Pycraft: Minecraft engine in Python by asimuvPR on Tuesday April 19, 2016 @07:53PM (#11531404)
Oh, the Rpi is the target platform, not the dev environment. I will look into the Forge-enabled MC server, thanks!
Re:Pycraft: Minecraft engine in Python by traverseda on Tuesday April 19, 2016 @02:59PM (#11529289)
It will not. We're still very early, and definitely not feature complete with minecraft. We're still working on some very fundamental things.

Do do that, you first have to write code for pulling levers, which will first require some digging around with how pycraft handles textures to make it more generic.

Check back in a few months.

Re:Pycraft: Minecraft engine in Python by asimuvPR on Tuesday April 19, 2016 @03:16PM (#11529404)
I will definitely do so! Thank you. :) By the way, accepting contributors? Maybe I can help out in some way...
Re:Pycraft: Minecraft engine in Python by traverseda on Saturday April 23, 2016 @09:37PM (#11558210)
We are very much accepting contributions.
Re:Pycraft: Minecraft engine in Python by 746F7475 on Monday April 18, 2016 @11:33PM (#11524699)
Isn't this already possible with normal Minecraft? I mean obviously you have to write your mod with Java, but still.
Re:Pycraft: Minecraft engine in Python by asimuvPR on Monday April 18, 2016 @11:42PM (#11524725)
Yes, you are correct. But normal MC is not open source. :)
Re:Pycraft: Minecraft engine in Python by ekianjo on Monday April 18, 2016 @11:59PM (#11524783)
Even though Notch was supposed to make it open source at some point. Another broken promise.
Re:Pycraft: Minecraft engine in Python by nness on Tuesday April 19, 2016 @12:20AM (#11524854)
That point was when Minecraft was worthless. It's currently somewhere around the $2.5b mark in value. But that's just splitting hairs, it won't likely ever be open-sourced after MS acquired it.

That said, they also promised a modding API too...

Re:Pycraft: Minecraft engine in Python by VikingCoder on Tuesday April 19, 2016 @10:10AM (#11527061)
I dunno... Microsoft has been open sourcing some pretty awesome stuff lately.
Re:Pycraft: Minecraft engine in Python by LukeB_UK on Tuesday April 19, 2016 @08:21AM (#11526412)
What he actually said was "Once sales start dying and a minimum time has passed, I will release the game source code as some kind of open source." [0]. Sales haven't died down and he doesn't own it anymore anyway.

[0] http://web.archive.org/web/20100301103851/http://www.minecra...

Re:Pycraft: Minecraft engine in Python by Chris2048 on Tuesday April 19, 2016 @10:56AM (#11527416)
Seems like selling it is the broken promise. If sales die down, and a minimum time passes, he still can't OS it because he sold it.

Still, as long as the idea's out there... I heard the codebase isn't actually that great...

Re:Pycraft: Minecraft engine in Python by idle_zealot on Tuesday April 19, 2016 @12:05AM (#11524803)
Couldn't something like that be done in Minetest?