Check out my blog post Drawing Sierpinski's Triangle in Minecraft Using Python. I was able to write Python code that plugs into the open source Minecraft server called Bukkit. You can use a normal Minecraft client on OS X to connect to the Bukkit server.
It's not as easy to setup as it is on Raspberry Pi, but it does work.
This was not possible at the time of the original question, but the full Java-based Minecraft can run on a Raspberry Pi 2 or higher today. With improvements to OpenGL on Raspbian over the years, LWJGL now just uses full OpenGL via the Mesa library.
Instructions with demo videos:
How to setup Minecraft 1.8.9 on RaspPi2 (original tutorial with Minecraft 1.8....
I wrote a Forge mod (Raspberry Jam Mod) for desktop Minecraft that implements most of the Pi version's protocol, and works with the scripts I've tested. Event handling is the major omission.
Source code and binaries are here.
To install, you'll need python, Minecraft 1.8, Minecraft Forge, my Raspberry Jam Mod and the Minecraft PI Python package. Then:
It is entirely possible to control the Minecraft Pi edition interactively through ssh, with one caveat. To control Minecraft Pi edition, you must first launch Minecraft Pi edition. However, you can only launch it from the Raspberry Pi itself. Once it is launched, however, you will be able to control it through ssh. To do so, first ssh into your Raspberry Pi. ...
A Minecraft server uses port 25565 by default. The Minecraft server itself is a program that runs on a computer. The computer has an ip address, maybe 192.168.10.11, but there are running many programs, for example also a ssh server and a web server. If you want to connect to one of this server it is not enough to address it only with the ip address of the ...
With some reservations, the answer is probably "No".
That is not to say that you can't make a cluster of raspberry pis (because you can), and not to say that you can't run minecraft on such a cluster (because you can), but rather that currently there is no implementation of a minecraft server that would actually benefit from such a setup. That is - the ...
You'll need to do it in two commands:
mc.setBlock(x, y, z, 64, 0)
mc.setBlock(x, y+1, z, 64, 8)
So, using your numbers, you would need:
mc.setBlock(10, 10, 16, 64, 0)
mc.setBlock(10, 11, 16, 64, 8)
Also, note that the sub-type for the blocks don't work if you use the named block types. So, for example, this won't work:
mc.setBlock(x, y, z, block....
As with nearly all things Unix/Linux, there is more than one solution.
You mentioned you want to be able to launch your server as a foreground process but be able to send it to the background and ... recall it to the foreground at a later time. I'll address answers to those questions here. There is a completely different way of doing things if you want to ...
I was thinking about something similiar but being done with spare motherboards in my house.
Clusters don't work like normal PCs. A cluster of slow computers is not the same as one fast. Clusters are designed to run cluster-targeted software. This software is coded to divide similiar parts of work to be done onto smaller pieces ready to be executed paralelly ...
If Minecraft on the pi uses OpenGL, this won't work because OGL will not work on the PiTFT. Adafruit has an explanation of this.
Examining the minecraft-pi binary downloaded from here reveals that it does link to the openGL-ES libs on the pi, so you will not be able to use it on the PiTFT.
Have you tried googling 'Minecraft Bukkit Server system requirements', google is your friend you know. (No offence, but The first result, second response here gives a rough idea:
Your biggest issue running a minecraft server seems to be the RAM. If
everyone is in the same chunk, you're fine. When everyone has their
own chunk and the 80 chunks around ...
It sounds like you are doing it correctly. My guess is that the file is incomplete. That's what "unexpected end of file" means- basically tar is saying "I expect the file to continue but it stopped".
Often sites will list a md5sum or other hash you can use to verify a download. This one doesn't. I downloaded the file locally to get the size- 573922 bytes. ...
I'm not sure exactly how you performed the installation process, but take a look at this tutorial (for both Raspbian and Arch Linux):
Start the graphical interface:
$ wget -c https://s3.amazonaws.com/assets.minecraft.net/pi/minecraft-pi-0.1.1.tar.gz
Extract the archive and cd into the extracted directory:
$ tar -...
The error message makes clear that Minecraft can't find the
Pi GPU since it's not there. I'm pretty sure there is no way
around that requirement either.
If you are looking to use the Pi edition Python API, plugins
for Desktop Minecraft exist to emulate this API :
Just as in vanilla Minecraft, you need to set two blocks to be a bed for this to work.
The vanilla commands would be:
/setblock 0 64 0 bed 0
/setblock 0 64 1 bed 8
(for a bed facing north)
You should do something similar in your Minecraft Pi Python code:
mc.setBlock(x, y, z, 26, 0)
mc.setBlock(x, y, z + 1, 26, 8)
Remember the API for setBlock is ...
My Pi 2 with Jessie runs Minetest out of the box at 15 fps for a typical scene with trees. (You'll of course get a higher fps looking at the sky.)
I've seen a "1 fps" bug affect both Minetest and full-blown Minecraft, and it seems to happen when the OpenGL driver isn't properly configured. Run sudo raspi-config and select the OpenGL driver with full ...
My tutorial for Minecraft 1.12.1 includes the ability to connect to servers: http://raspberrypi.org/forums/viewtopic.php?f=78&t=186547
Copied here for completeness:
How to setup Full Minecraft 1.12.1 (with Optifine) on Raspberry Pi 3
Please note :
Do this at your own risk.
If you have any doubts use a spare SD card.
The OpenGL drivers are ...
Run this command:
sudo apt update
sudo apt install -y minecraft-pi
Or install via the main menu (Preferences -> Recommended Software -> Games) as @CoderMike mentioned.
Downloading minecraft-pi-0.1.1.tar.gz directly provided most of what's needed but it doesn't include all dependencies, which APT takes care of.
I found this working for me with Minecraft 1.7.10 (as user875707's answer solution is meant to be used with Minecraft 1.8).
All the instructions are in the link above but basically, you just need to download the .jar they offer you and drop it into your your_minecraft_folder/mods/.
You will both need Forge installed and ...
Decompress: tar -zxvf minecraft-pi-0.1.1.tar.gz
To run it: cd mcpi
Followed by: minecraft-pi
Minecraft server http://picraftbukkit.webs.com/pi-minecraft-server-how-to
Install JAVA HardFloat
sudo wget http://www.java.net/download/jdk8/...
There is now an edition of Minecraft specifically for the Raspberry Pi. It's called Minecraft: Pi Edition. I know this only answers half the question, but I figured I'd leave the information here for future reference.
From the log you pasted it seems that Pi's GPU doesn't know OpenGL. That's one of the reasons they've made a special version of the game.
EDIT: I tried to make LWJGL program an run it on pi. It failed. Pi's GPU definitely doesnt support LWJGL OpenGL implementation.
Thinking outside of the box here:
Can't you just run it in a screen session and detach screen when you want to turn your Windows off, so the program will keep running and not turn it off?
Check the screen manual on how to detach/retach.
Screen is one of the most used utilities when you have a remote machine.
It might be an evironment issue.
java -Xmx1024M -Xms512M -jar minecraft_server.1.8.1.jar nogui
That isn't telling it where minecraft_server.1.8.1.jar is located so it needs to be executed from the same directory. I would try adding the full path to the jar file in your start.sh like this:
java -Xmx1024M -Xms512M -jar /home/pi/MinecraftServer/...
It's not possible using ssh-x. It's like trying to watch a video on a terminal. Terminals are text-only.
You could, however, install a VNC server as suggested by some comments. This way, you can have a desktop and use the pi without a monitor (the experience is similar to TeamViewer).
EDIT: I think I have tried this before, both ssh -x and VNC. Yes, I ...
RealVNC server for Raspberry Pi does not support Minecraft Pi nor other OpenGL ES programs.
Some time ago RealVNC released an alpha build...
This is now available in the default installation on Raspbian. The option for "Experimental direct capture mode" can be found under the "Troubleshooting" menu (Thanks Andrew!).
Performance improved after the earlier ...
I am using a (1024x768) tv by the way using hdmi
According to this ticket, LWJGL at one time did not support interlaced displays. The reported symptom is exactly the error you have encountered: "an ArrayIndexOutOfBoundsException in XRandR.findPrimary()"
If you wish to use a use a television with Forge 1.12.2, it'll have to be one with progressive scan.
What you really want, probably, is to create a minecraft service in init.d . I found one at gamepedia that I have modified slightly into this (still needs work, though):
# version 0.3.9 2012-08-13 (YYYY-MM-DD)
### BEGIN INIT INFO
# Provides: minecraft
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $...