Hey, everyone, I have messed around with Minecraft Pi edition on my RPI 3. Messing with Python and doing cool things. One thing that is a little sad is that there is no survival. What kind of game has no win or lose. I did research and it shows me how to do it, but most of them are meant for raspbian and I have Ubuntu Mate. Also, I tried to do one of them and it said to put a file into the mcpi folder. I don’t even have that folder anywhere. Probably because my Minecraft pi edition came preinstalled without that dir. So I made my own mcpi folder and I have Minecraft Pi on my panel so I just dragged it to the mcpi. Still no luck. The tutorial I was trying to do is at this link.
It’s called the mcpi folder because if you were to download the original package linked by Mojang, it would be unpacked into a subfolder called mcpi.
On Raspbian and MATE, the built-in equivalent is /opt/minecraft-pi so just use that. The tutorial you linked is fine… just note the folder is owned by root so you’ll have to sudo some of those commands.
Is regular creative mode Minecraft Pi working, while survival mode is now hitting this error message?
If so, I recommend checking the wrapper script as it’s more robust against changes to the system libraries. If you take a look at /usr/bin/minecraft-pi I recall it says something like this on Ubuntu MATE:
cd /opt/minecraft-pi
LD_LIBRARY_PATH=lib/brcm ./minecraft-pi
You can run the same commands on your terminal, except change the last part to use ./survival
Users would get that error on Raspbian Stretch when switching to the full OpenGL driver. If you happen to have also changed the rendering driver on Ubuntu MATE too (less common), try reverting it back?
sudo raspi-config
It’s also possible with a wrapper script to get Mineract Pi running on the standard OpenGL ES driver on Ubuntu MATE, but the process is error-prone and wouldn’t achieve the same rendering performance anyhow.
No new slash /cmd style commands in MCPI survival.
As for building your own commands in Python, the RaspberryJuice plugin has a .pollChatPosts() function but unfortunately this isn't available in the original Pi Edition.
I guess in theory it's not too farfetched if someone were to build a tool to snoop the chat buffer and effectively implement .pollChatPosts() on the Pi.
Since I couldn't run survival mode with ./survival I fooled the raspberry pi to think it was opening minecraft but it's instead opening survival for me.
Here's the code:
cd /opt/minecraft-pi
mv minecraft-pi mcpi
mv survival minecraft-pi
minecraft-pi
Hey jdonald i was looking for a way to change minecraft-pi to survival and came to this post! Everthing worked fine expect ./survival
Maybe i was in the wrong directory?
Note: i have an raspberry pi and am not pi but can use sudo
When this thread started years ago we were still on Ubuntu MATE 16.04 LTS which was using the Broadcom driver from Raspbian, so ./survival just worked. The modern distros ought to use Mesa GL/GLES so you really need the helper script that loads "mcrpi-wrapper" via LD_PRELOAD.
That how-to is for Raspbian but if you already have non-survival working on Ubuntu MATE it should be sufficient there too, and your username need not be pi.