Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
12

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.


9

As you can see on Raspberry Pi FAQ, the real performance of the Raspberry Pi is something like 300 MHz Pentium 2. There is 256 MB RAM installated on both model A and B. Try to compare this parameters to the parameters of your computer. The reason that Raspberry Pi could smoothly play BlueRay quality videos is in used Videocore 4 GPU which provides Open GL ...


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: ...


7

The system requirements for NetBeans state that it needs minimum of 512 MB of memory to run. Since the Raspberry Pi only has 256 MB of RAM, I would have to guess that there is very little chance of getting Netbeans to run. Especially considering that to run a graphical desktop, you should probably be giving the video processor 32 MB of that memory leaving ...


6

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. ...


6

This was not possible at the time of the original question, but the full Java-based Minecraft can run on the Raspberry Pi 3 today. With improvements to OpenGL on Raspbian over the years, LWJGL now just uses full OpenGL via the Mesa library. Instructions with video tutorials: How to setup Minecraft 1.8.9 on RaspPi2 (original tutorial with Minecraft 1.8.9) ...


5

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 ...


5

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....


4

If you are using Python 2 type idle in a command window. If you are using Python 3 type idle3 in a command window. If you are using a GUI there should be shortcuts to IDLE and IDLE3 on screen.


4

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: $ startx Download Minecraft: $ 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 -...


4

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 ...


4

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 ...


4

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.


4

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.


4

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. ...


4

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 : http://dev.bukkit.org/bukkit-plugins/raspberryjuice/


4

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 ...


4

OpenGL 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 ...


4

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 ...


3

Minecraft. http://pi.minecraft.net/ Download: https://s3.amazonaws.com/assets.minecraft.net/pi/minecraft-pi-0.1.1.tar.gz 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/...


3

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.


3

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/...


3

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.


3

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). https://github.com/kbsriram/mcpiapi 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 ...


3

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 ...


3

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 ...


2

I think you mean libbcm_host.so. The minecraft-pi executable requires the following: > ldd minecraft-pi libGLESv2.so => /usr/lib/vc/libGLESv2.so (0x4a3b0000) libEGL.so => /usr/lib/vc/libEGL.so (0x4a340000) libbcm_host.so => /usr/lib/vc/libbcm_host.so (0x4a390000) ^^^^^^^^^^^^^^ libpng12.so.0 => not found libSDL-1.2....


2

The error is in the raspberrypi.org example. It's missing an import. Add the following line and your code should work fine: from mcpi import block


2

It all depends on which Minecraft he is using (the title of your post says "Minecraft Pi Edition" but just making sure). Is he playing Minecraft (Linux edition, currently 1.8.8) on it, or Minecraft Pi edition (version 0.1.something)? Big difference between the two. For the first - I'm not sure it will ever run smoothly, even on an rPi2. You typically need a ...


2

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): #!/bin/bash # /etc/init.d/minecraft # 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 $...


Only top voted, non community-wiki answers of a minimum length are eligible