RaspberryPI3运行minecraft1.12.1
RaspberryPI2运行minecraft1.8.9
如果不想看相关教程,跳至快速安装。
相关代码如果觉得不方便,可以到http://ouav818sk.bkt.clouddn.com/raspi/command.txt查看,我把所有命令整合了一下。
sudo apt-get update && sudo apt-get -y upgrade
sudo apt-get -y install xcompmgr libgl1-mesa-dri && sudo apt-get -y install libalut0 libalut-dev && sudo apt-get -y install mesa-utils
打开sudo raspi-config
找到Advanced Options
设置GL Driver
设置为GL (Full KMS)
这个不用我教了吧,超到 High(1000MHz)就行了
sudo reboot
glxgears
mkdir ~/Minecraft; mkdir ~/Minecraft/Natives; cd ~/Minecraft && wget http://ouav818sk.bkt.clouddn.com/raspimc/Minecraft.jar
这里我创建2个文件夹,用于存放文件
java -jar Minecraft.jar
下载配置文件
登陆
新建配置
版本选择1.8.9
下载安装
mkdir ~/Minecraft; mkdir ~/Minecraft/Natives; cd ~/Minecraft && wget https://github.com/huanghongxun/HMCL/releases/download/v2.5.3/HMCL-2.5.3.88.jar
这里我创建2个文件夹,用于存放文件
java -jar HMCL-2.5.3.88.jar
cd ~/Minecraft/Natives && wget http://ouav818sk.bkt.clouddn.com/raspimc/liblwjgl.so && wget http://ouav818sk.bkt.clouddn.com/raspimc/libopenal.so
cd ~/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209 && rm lwjgl-2.9.4-nightly-20150209.jar; wget http://ouav818sk.bkt.clouddn.com/raspimc/lwjgl-2.9.4-nightly-20150209.jar
(基于Roger Allen的教程:http://rogerallen.github.io/jetson/2014/07/31/minecraft-on-jetson-tk1/
cd ~/Minecraft/ && wget http://ouav818sk.bkt.clouddn.com/raspimc/run.sh && sudo chmod +x run.sh
编辑:
MINECRAFT_LOGIN
MINECRAFT_USERNAME
MINECRAFT_PASSWORD
完成正版登陆
./run.sh
运行下列代码
sudo apt-get update && sudo apt-get -y upgrade
sudo apt-get -y install xcompmgr libgl1-mesa-dri && sudo apt-get -y install libalut0 libalut-dev && sudo apt-get -y install mesa-utils
mkdir ~/Minecraft; mkdir ~/Minecraft/Natives; cd ~/Minecraft && wget http://ouav818sk.bkt.clouddn.com/raspimc/Minecraft.jar
java -jar Minecraft.jar
cd ~/Minecraft/Natives && wget http://ouav818sk.bkt.clouddn.com/raspimc/liblwjgl.so && wget http://ouav818sk.bkt.clouddn.com/raspimc/libopenal.so
cd ~/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209 && rm lwjgl-2.9.4-nightly-20150209.jar; wget http://ouav818sk.bkt.clouddn.com/raspimc/lwjgl-2.9.4-nightly-20150209.jar
cd ~/Minecraft/ && wget http://ouav818sk.bkt.clouddn.com/raspimc/run.sh && sudo chmod +x run.sh
./run.sh
# RaspberryPI3运行minecraft1.12.1
sudo apt-get update && sudo apt-get -y upgrade
sudo apt-get -y install libalut0 libalut-dev && sudo apt-get -y install mesa-utils
mkdir ~/Minecraft; mkdir ~/Minecraft/Natives; cd ~/Minecraft && wget http://ouav818sk.bkt.clouddn.com/raspimc/Minecraft.jar
cd ~/Minecraft && java -jar Minecraft.jar
cd ~/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209 && rm lwjgl-2.9.4-nightly-20150209.jar; wget http://ouav818sk.bkt.clouddn.com/raspi/mc/lwjgl-2.9.4-nightly-20150209.jar
cd ~/Downloads && java -jar OptiFine_1.12.1_HD_U_C5.jar
cd ~/Minecraft && java -jar Minecraft.jar
cd ~/Minecraft/ && wget http://ouav818sk.bkt.clouddn.com/raspi/mc/runOptifine1_12_1.sh && sudo chmod +x runOptifine1_12_1.sh
./runOptifine1_12_1.sh