[deleted]
Posts: 8
Joined: Sat Oct 27, 2018 1:14 am

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Oct 29, 2018 12:57 am

fixed other things
now when I try and download says Minecraft version 1.12.1 not found you need to start the version 1.12.1 manually once

User avatar
rpiMike
Posts: 542
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Oct 29, 2018 7:03 am

Did you do step 7 running the Minecraft launcher?

In step 7 did you also specify release 1.12.1? - If your using a newer Minecraft.jar click 'edit profile' and select use release - 'release 1.12.1', then 'save profile'
Click Play to install game

[deleted]
Posts: 8
Joined: Sat Oct 27, 2018 1:14 am

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Oct 29, 2018 7:58 pm

Thanks soooooooo much it works! :D
[took me awile though :roll: ]

[deleted]
Posts: 8
Joined: Sat Oct 27, 2018 1:14 am

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Tue Oct 30, 2018 7:52 pm

So how dose one get it faster than lesss than 1 fps... :|

User avatar
DarkPlatinum
Posts: 540
Joined: Thu Nov 02, 2017 2:30 pm
Contact: Website

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Tue Oct 30, 2018 7:59 pm

[deleted] wrote:
Tue Oct 30, 2018 7:52 pm
So how dose one get it faster than lesss than 1 fps... :|
Did you really rename yourself deleted??

It sounds like your not using the opengl driver. Make sure to use the glxgears to see if your getting the correct fps.
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

Check Out My Raspberry Site (Run on a Raspberry Pi Zero W :) ): Https://Html.dynu.net

User avatar
rpiMike
Posts: 542
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Tue Oct 30, 2018 8:24 pm

[deleted] wrote:
Tue Oct 30, 2018 7:52 pm
So how dose one get it faster than lesss than 1 fps... :|
As DarkPlatinum said, did you do steps 3 to 5 and get glxgears running at close to 60fps?

[deleted]
Posts: 8
Joined: Sat Oct 27, 2018 1:14 am

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sat Nov 03, 2018 1:58 am

I beleve I have it working now! THANK YOU SO MUCH! Wouldent have been able to do this without the help :D
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░▄▄▄▄▄▄▄░░░░░░░░░
░░░░░░░░░▄▀▀▀░░░░░░░▀▄░░░░░░░
░░░░░░░▄▀░░░░░░░░░░░░▀▄░░░░░░
░░░░░░▄▀░░░░░░░░░░▄▀▀▄▀▄░░░░░
░░░░▄▀░░░░░░░░░░▄▀░░██▄▀▄░░░░
░░░▄▀░░▄▀▀▀▄░░░░█░░░▀▀░█▀▄░░░
░░░█░░█▄▄░░░█░░░▀▄░░░░░▐░█░░░
░░▐▌░░█▀▀░░▄▀░░░░░▀▄▄▄▄▀░░█░░
░░▐▌░░█░░░▄▀░░░░░░░░░░░░░░█░░
░░▐▌░░░▀▀▀░░░░░░░░░░░░░░░░▐▌░
░░▐▌░░░░░░░░░░░░░░░▄░░░░░░▐▌░
░░▐▌░░░░░░░░░▄░░░░░█░░░░░░▐▌░
░░░█░░░░░░░░░▀█▄░░▄█░░░░░░▐▌░
░░░▐▌░░░░░░░░░░▀▀▀▀░░░░░░░▐▌░
░░░░█░░░░░░░░░░░░░░░░░░░░░█░░
░░░░▐▌▀▄░░░░░░░░░░░░░░░░░▐▌░░
░░░░░█░░▀░░░░░░░░░░░░░░░░▀░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

[deleted]
Posts: 8
Joined: Sat Oct 27, 2018 1:14 am

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Nov 04, 2018 12:36 am

can one play with somone on a phone computer ect? :mrgreen:

User avatar
HawaiianPi
Posts: 3038
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Nov 04, 2018 2:37 am

[deleted] wrote:
Sun Nov 04, 2018 12:36 am
can one play with somone on a phone computer ect? :mrgreen:
Minecraft Java Edition will run on Windows, Mac and Linux computers, and Mojang offers free server software, so there are many out there (I run my own Minecraft 1.12.2 "Creeper Pie" SMP server on a Raspberry Pi 3B+). One computer can also host a LAN game for other computers on the same network (although you'd probably need something more than a Pi as the host).

Minecraft PE (Portable Edition) for phones and tablets (as well as the Windows 10 version) is different, and not compatible with Java Edition. With the "Better Together" (Bedrock) update, Minecraft PE, Win10, and a few other platforms were made compatible for cross-platform play. But those play on different servers than Java Edition.

So the answer is no on phones, but yes on computers (provided they are running the same version of Java Edition).

Since the final version of the 1.12 series is 1.12.2, most 1.12 servers will be running that, so it might be tricky finding a server for 1.12.1, although LAN games should work. I believe there were instructions for running 1.12.2 on the Pi somewhere (buried in this thread, or in another thread). If multi-player is something you're interested in, running 1.12.2 Java Edition would be preferable.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

User avatar
RaspbianDK
Posts: 6
Joined: Fri Oct 26, 2018 12:21 pm
Location: Denmark

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Fri Nov 09, 2018 1:11 pm

Hi. Thanks for the guide. After some trouble i got it working! Its very cool.

User avatar
DarkPlatinum
Posts: 540
Joined: Thu Nov 02, 2017 2:30 pm
Contact: Website

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Fri Nov 09, 2018 2:58 pm

RaspbianDK wrote:
Fri Nov 09, 2018 1:11 pm
Hi. Thanks for the guide. After some trouble i got it working! Its very cool.
Heh heh, it is pretty cool, but dont expect groundbreaking results! If you want higher fps, download an 8x8 resource pack, it bumps up the fps slightly. Also turn down your render and enable optifine settings; fast math etc.
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

Check Out My Raspberry Site (Run on a Raspberry Pi Zero W :) ): Https://Html.dynu.net

gounthar
Posts: 23
Joined: Mon Jul 29, 2013 1:39 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Nov 11, 2018 5:05 pm

Thanks for the tutorial, I was able to install MineCraft for the kiddos! :mrgreen:
2*3B at home for the kids
7*3B+ at work for serious business (gitlab-runner, broadcasting conference, openSTF server...)
Hoping to get a few hats in the following weeks

User avatar
DarkPlatinum
Posts: 540
Joined: Thu Nov 02, 2017 2:30 pm
Contact: Website

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Nov 11, 2018 5:26 pm

gounthar wrote:
Sun Nov 11, 2018 5:05 pm
Thanks for the tutorial, I was able to install MineCraft for the kiddos! :mrgreen:
Raspberry Pi are cheap ok minecraft playing devices, and they don't break the bank!
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

Check Out My Raspberry Site (Run on a Raspberry Pi Zero W :) ): Https://Html.dynu.net

Steven57
Posts: 16
Joined: Tue Feb 24, 2015 12:23 am

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Nov 12, 2018 1:52 am

Set up with 1.13.2 Minecraft and Optifine
When try to run I get this:

Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
[20:41:39] [main/INFO]: Loading tweak class name net.minecraft.launchwrapper.VanillaTweaker
[20:41:39] [main/INFO]: Using primary tweak class name net.minecraft.launchwrapper.VanillaTweaker
[20:41:39] [main/INFO]: Calling tweak class net.minecraft.launchwrapper.VanillaTweaker
Exception in thread "main" java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
at java.lang.Class.getConstructor0(Class.java:3075)
at java.lang.Class.newInstance(Class.java:412)
at net.minecraft.launchwrapper.LaunchClassLoader.registerTransformer(LaunchClassLoader.java:88)
at net.minecraft.launchwrapper.VanillaTweaker.injectIntoClassLoader(VanillaTweaker.java:16)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.ClassVisitor
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 8 more




ideas????

User avatar
rpiMike
Posts: 542
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Nov 12, 2018 7:30 am

No versions of 1.13.x will work due to a library lwjgl3 not being available on the Pi.

Any help getting lwjgl3 built on the Pi would be appreciated:

https://github.com/LWJGL/lwjgl3/issues/206

User avatar
HawaiianPi
Posts: 3038
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Nov 15, 2018 11:44 am

Don't mean to be a wet blanket, but Minecraft 1.13.2 is still laggy on a proper gaming PC. It's not as bad as the initial 1.13 release, but I seriously doubt a Pi could run it (regardless of lwjgl3). Even the non-GUI server was too much for my little Pi (3B+), which is why the Creeper Pie server is still on 1.12.2 and I have a quad-core i7 with 8GB of RAM running my 1.13.2 server (and even that struggles at times).
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

User avatar
rpiMike
Posts: 542
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Nov 15, 2018 11:54 am

The fun is in trying to get it working :D

I was shocked, amazed, elated when I first got full java Minecraft running on a Pi2 !

User avatar
DarkPlatinum
Posts: 540
Joined: Thu Nov 02, 2017 2:30 pm
Contact: Website

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Nov 15, 2018 3:16 pm

HawaiianPi wrote:
Thu Nov 15, 2018 11:44 am
Don't mean to be a wet blanket, but Minecraft 1.13.2 is still laggy on a proper gaming PC. It's not as bad as the initial 1.13 release, but I seriously doubt a Pi could run it (regardless of lwjgl3). Even the non-GUI server was too much for my little Pi (3B+), which is why the Creeper Pie server is still on 1.12.2 and I have a quad-core i7 with 8GB of RAM running my 1.13.2 server (and even that struggles at times).
If only the Pi could run and play MC-PE... if only...
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

Check Out My Raspberry Site (Run on a Raspberry Pi Zero W :) ): Https://Html.dynu.net

User avatar
DougieLawson
Posts: 34168
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Nov 15, 2018 3:22 pm

DarkPlatinum wrote:
Thu Nov 15, 2018 3:16 pm
If only the Pi could run and play MC-PE... if only...
MC-PE is what's shipped with Raspbian. The reason you don't recognise it as MC-PE is that it's the original early version hacked for the RPi by Mojang from 2012 with no updates ever. Microsoft dropped it when they bought out Mojang.

There's nothing you can do to get over that.
Note:The use of baseball bats for educational purposes is completely disallowed on this forum.

Any DMs sent on Twitter will be answered next month.

User avatar
DarkPlatinum
Posts: 540
Joined: Thu Nov 02, 2017 2:30 pm
Contact: Website

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Nov 15, 2018 3:52 pm

DougieLawson wrote:
Thu Nov 15, 2018 3:22 pm
DarkPlatinum wrote:
Thu Nov 15, 2018 3:16 pm
If only the Pi could run and play MC-PE... if only...
MC-PE is what's shipped with Raspbian. The reason you don't recognise it as MC-PE is that it's the original early version hacked for the RPi by Mojang from 2012 with no updates ever. Microsoft dropped it when they bought out Mojang.

There's nothing you can do to get over that.
Microsoft just made me sad :(
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

Check Out My Raspberry Site (Run on a Raspberry Pi Zero W :) ): Https://Html.dynu.net

User avatar
DarkPlatinum
Posts: 540
Joined: Thu Nov 02, 2017 2:30 pm
Contact: Website

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Nov 15, 2018 3:52 pm

DougieLawson wrote:
Thu Nov 15, 2018 3:22 pm
DarkPlatinum wrote:
Thu Nov 15, 2018 3:16 pm
If only the Pi could run and play MC-PE... if only...
MC-PE is what's shipped with Raspbian. The reason you don't recognise it as MC-PE is that it's the original early version hacked for the RPi by Mojang from 2012 with no updates ever. Microsoft dropped it when they bought out Mojang.

There's nothing you can do to get over that.
Microsoft just made me sad :(
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

Check Out My Raspberry Site (Run on a Raspberry Pi Zero W :) ): Https://Html.dynu.net

leafs444
Posts: 10
Joined: Sun Jul 29, 2018 8:26 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sat Dec 01, 2018 4:24 pm

rpiMike wrote:
Wed Jun 21, 2017 2:30 pm
How to setup Full Minecraft 1.12.1 (with Optifine) on Raspberry Pi 3

Edit : 21/8/2017 Added video tutorial link
Edit : 20/8/2017 Updated to 1.12.1, Optifine 1.12.1 HD U C5

Please note :
Do this at your own risk.
If you have any doubts use a spare SD card.
The OpenGL drivers are experimental - they may not work with all screens. If unsure make sure you can ssh onto the Pi from another machine to turn back off.
Most likely to have success with OpenGL drivers if using Raspberry Pi 3 with heatsink, genuine 5.1 volt 2.5 amp power supply with heavy duty 2 core power cable, 1080p screen.
This should also work on the Pi2.

This tutorial was tested using Raspbian Stretch with Desktop - release date 2017-08-16

Video tutorial : https://www.youtube.com/watch?v=yTRYomiQMAY

1 If you need to update an existing version use

Code: Select all

sudo apt-get update && sudo apt-get -y upgrade
If you get any questions or prompts during raspbian update press ‘q’ ‘enter’

2 In Menu\Preferences\Raspberry Pi Configuration :

System Tab - set Splash Screen to Disabled
Performance Tab - set GPU Memory to 64Mb
- if using Pi2 set overclock to High(1000MHz)
Reboot

3 Enable ‘GL Driver’ from a terminal window

Code: Select all

sudo raspi-config
This will start the config utility. Select 'Advanced Options', then select 'GL Driver', then select 'Enable' (latest utility requires selection of 'GL (Full KMS)' ), then select 'Yes' to reboot and enable the driver.

4 Install OpenAL Audio & glxgears demo

Code: Select all

sudo apt-get -y install libalut0 libalut-dev && sudo apt-get -y install mesa-utils
5 Test driver using glxgears

Code: Select all

glxgears
This should run at about 60 fps.

6 Download Minecraft

Code: Select all

mkdir ~/Minecraft; mkdir ~/Minecraft/Natives; cd ~/Minecraft && wget https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar
7 Run launcher :

Code: Select all

cd ~/Minecraft && java -jar Minecraft.jar
Login with Minecraft email and password
If your using a newer Minecraft.jar click 'edit profile' and select use release - 'release 1.12.1', then 'save profile'
Click Play to install game
You will then receive an error
Close launcher

8 Copy libraries

Code: Select all

cd ~/Minecraft/Natives && wget https://www.dropbox.com/s/4oxcvz3ky7a3x6f/liblwjgl.so && wget https://www.dropbox.com/s/m0r8e01jg2og36z/libopenal.so
9 Update lwjgl

Code: Select all

cd ~/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209 && rm lwjgl-2.9.4-nightly-20150209.jar; wget https://www.dropbox.com/s/mj15sz3bub4dmr6/lwjgl-2.9.4-nightly-20150209.jar
( based on Roger Allen's tutorial : http://rogerallen.github.io/jetson/2014 ... etson-tk1/ )

10 Download “OptiFine 1.12.1 HD U C5” from http://optifine.net/downloads

11 Install Optifine

Code: Select all

cd ~/Downloads && java -jar OptiFine_1.12.1_HD_U_C5.jar
Click install.

Run launcher

Code: Select all

cd ~/Minecraft && java -jar Minecraft.jar
Select the OptiFine profile and click play. The launcher will crash

12 Copy run script

Code: Select all

cd ~/Minecraft/ && wget https://www.dropbox.com/s/ca37tzxxc9hvsyd/runOptifine1_12_1.sh && sudo chmod +x runOptifine1_12_1.sh
13 Edit runOptifine1_12_1.sh

Update MINECRAFT_LOGIN, MINECRAFT_USERNAME and MINECRAFT_PASSWORD to your own (may need "" for special characters)

14 Start Minecraft from terminal window

Code: Select all

./runOptifine1_12_1.sh
Change options in Minecraft to reduce render chunks to 2, this should avoid running out of memory.
Turn everything down to low in the video settings (and turn on things like fast math)
Suggest running in the default sized window for best performance - full screen may crash.

https://youtu.be/2sREfySmRNU

Hopefully Minecraft should run :P

Some additional Pi tweeks :

Add an additional 16Mb :
Add the following to /boot/config.txt

Code: Select all

total_mem=1024
gpu_mem=64
Test before and after using :

Code: Select all

vcgencmd get_mem arm
vcgencmd get_mem gpu
If your running a 1080p screen drop the resolution down for a larger Minecraft window :
list modes :

Code: Select all

xrandr
and do one-shot resolution setting at runtime with:

Code: Select all

xrandr --output HDMI-1 --mode 1280x720
If you want to attempt getting a new version of Minecraft working :

1 Install required version using java -jar Minecraft.jar - and allow to crash
2 Scroll up in terminal window and find last ../jre/bin/java command, scroll across and find ‘-cp ’, copy this path list until ‘ net.minecraft.launchwrapper.Launch’
3 Paste this text into the cp= in the run.sh script
This is all great, but can you update the guide to 1.12.2?

Frederk
Posts: 23
Joined: Wed Aug 02, 2017 8:56 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Fri Dec 07, 2018 7:39 pm

When i try

Code: Select all

./runOptifine1_12_1.sh
i get this error:

Code: Select all

./runOptifine1_12_1.sh: 52: ./runOptifine1_12_1.sh: /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/bin/java: not found
EDIT: I didnt have it installed but now I get a new error:

Code: Select all

Error: Could not find or load main class net.minecraft.launchwrapper.Launch
Last edited by Frederk on Fri Dec 07, 2018 7:47 pm, edited 2 times in total.

User avatar
rpiMike
Posts: 542
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Fri Dec 07, 2018 7:43 pm

Are you using the latest Raspbian Stretch with Desktop?

Frederk
Posts: 23
Joined: Wed Aug 02, 2017 8:56 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Fri Dec 07, 2018 8:05 pm

No, im using raspian lite with openbox as WM

EDIT: It was because it thought that my username was pi. I had to change it in the cp path
Last edited by Frederk on Fri Dec 07, 2018 8:20 pm, edited 1 time in total.

Return to “Gaming”