equynox
Posts: 4
Joined: Wed Jan 23, 2019 10:34 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Jan 24, 2019 8:41 pm

It's working now with 1.12.2. The problem was kms full. Switched to fake kms and it's working. Also full kms was freezing the os when trying to change the resolution. I understood that is a known issue since it's experimental and everybody suggested to try fake. So, I kinda solved the problem. Tnx so much for advices!

Super_Pizza
Posts: 2
Joined: Thu Oct 11, 2018 11:59 am

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Tue Jan 29, 2019 8:58 pm

I was just missing org.apache.maven in cp list :?

Dirky
Posts: 1
Joined: Wed Jan 30, 2019 11:34 am

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Wed Jan 30, 2019 11:39 am

Hello everyone.

I have follow all the instructions for installing Minecraft, but I have an error when starting the script for Minecraft with Optifine. Here is the error :
[12:13:02] [main/ERROR]: Unable to launch
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_65]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_65]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
Caused by: java.lang.NoClassDefFoundError: cff
at net.minecraft.client.main.Main.main(SourceFile:38) ~[Main.class:?]
... 6 more
Caused by: java.lang.ClassNotFoundException: cff
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_65]
at net.minecraft.client.main.Main.main(SourceFile:38) ~[Main.class:?]
... 6 more
Caused by: java.lang.NoClassDefFoundError: com/google/gson/JsonDeserializer
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_65]
at java.lang.ClassLoader.defineClass(ClassLoader.java:760) ~[?:1.8.0_65]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_65]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_65]
at net.minecraft.client.main.Main.main(SourceFile:38) ~[Main.class:?]
... 6 more
Caused by: java.lang.ClassNotFoundException: com.google.gson.JsonDeserializer
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_65]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_65]
at java.lang.ClassLoader.defineClass(ClassLoader.java:760) ~[?:1.8.0_65]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_65]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_65]
at net.minecraft.client.main.Main.main(SourceFile:38) ~[Main.class:?]
... 6 more
Caused by: java.lang.NullPointerException
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_65]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_65]
at java.lang.ClassLoader.defineClass(ClassLoader.java:760) ~[?:1.8.0_65]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_65]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_65]
at net.minecraft.client.main.Main.main(SourceFile:38) ~[Main.class:?]
... 6 more
I don't know what to do, can you please help me ? I have a raspberry pi 3b+.

Thanks !

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Wed Jan 30, 2019 12:06 pm

Are you using the latest Raspbian Stretch? Did you get glxgears running at 60fps? Did you edit your profile and specify release 1.12.1 when installing Minecraft? Did you download the correct Optifine?

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Wed Jan 30, 2019 1:22 pm

All errors people get is usually user error involved.
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 3B :) ): Https://Html.dynu.net

uncraftablecreeper
Posts: 8
Joined: Tue Oct 09, 2018 5:04 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sat Feb 09, 2019 10:57 am

rpiMike wrote:
Sat Dec 22, 2018 9:48 am
uncraftablecreeper wrote:
Sat Dec 22, 2018 9:26 am
This can be easier if you use wor (windows on raspberry) https://www.youtube.com/watch?v=xyLdAs_roIA then just run windows alternative download of minecraft https://launcher.mojang.com/download/Minecraft.exe
Have you tried this ?
not yet since all my sd cards have died on me during installation
THE PI IS A LIE :D

xacker
Posts: 1
Joined: Thu Feb 14, 2019 6:23 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Feb 14, 2019 6:30 pm

Hi!
I have achieved stable work of 1.12.2 with OptiFIne 12.2. Also Forge Mod is works but with lags. It is possible to make something like OptiForge? https://minecraft.gamepedia.com/Mods/In ... _Installer

User avatar
HawaiianPi
Posts: 3672
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 Feb 17, 2019 6:17 am

Fresh baked, 100% organic Minecraft Pie!

Client machine:
  • Raspberry Pi 3B+ (in Flirc case)
  • Official Raspberry Pi Universal Power Supply
  • SanDisk Ultra A1 micro SD card (32GB)
  • Raspbian Stretch Desktop
  • Oracle Java 1.8.0_65
  • Minecraft Java Edition 1.12.2
  • OptiFine 1.12.2 HD U E3
Server machine:
  • Raspberry Pi 3B+ (in Flirc case)
  • RAVPower charger (PSU) + Volutz micro USB cable (1ft/30.5CM)
  • SanDisk Ultra A1 micro SD card (32GB)
  • Raspbian Stretch Lite
  • Oracle Java 1.8.0_201 (jdk-8u201-linux-arm32-vfp-hflt.tar.gz)
  • SpigotMC git-Spigot-e8ded36-acbc348 (MC: 1.12.2) Implementing API version 1.12.2-R0.1-SNAPSHOT
Custom 16x16 resource pack based on New Default Beta V2 (with my own tweaks).
Image

5x ARMv7 Processor? Image When did my 3B+ grow an extra core?
And how can I make it grow 3 more... Image

FYI: it's really hard to fly Elytra at render distance 3. You're moving fast and things pop into view with little time to react. :shock:
Although the death message is funny (TinyZombie experienced kinetic energy).
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: 723
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Feb 17, 2019 11:12 am

Nice :D

Its_Azazel
Posts: 6
Joined: Mon Jan 21, 2019 4:11 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Mar 10, 2019 5:55 pm

Okay, so my GLXGears is acting strangely. It shows 120+ FPS, I've gone through the whole tutorial several times, and it keeps showing roughly the same numbers. I'm very sure I haven't missed anything, but I could just be missing the obvious. :?

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Mar 10, 2019 7:06 pm

Are you running latest Raspbian Stretch? Which model Pi? What psu? Set GL full KMS? 1080p hdmi screen?

Its_Azazel
Posts: 6
Joined: Mon Jan 21, 2019 4:11 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Mar 10, 2019 7:16 pm

I'm using the latest Raspbian downloaded from the downloads tab, a Raspberry Pi 3 B+, official 5V Raspberry Pi power supply, a projector for a screen if that makes any difference, and I'm using the full KMS. Is there anything causing problems in my setup?

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Mar 10, 2019 7:20 pm

What resolution is the projector? Official 5.1V 2.5A psu?

Its_Azazel
Posts: 6
Joined: Mon Jan 21, 2019 4:11 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Mar 10, 2019 7:33 pm

I don't know the resolution of the projector, but I have a 7" official touchscreen that I haven't tried it on yet. the power supply I'm using is here: https://www.raspberrypi.org/products/ra ... er-supply/

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Mar 10, 2019 7:38 pm

Try using GL Fake KMS.

Its_Azazel
Posts: 6
Joined: Mon Jan 21, 2019 4:11 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Mar 10, 2019 7:40 pm

Okay, I'll try that and come back to you if it works or not. Thanks!

Its_Azazel
Posts: 6
Joined: Mon Jan 21, 2019 4:11 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sun Mar 10, 2019 7:59 pm

Just went through the process again, seems like the Fake KMS did the trick. :D

Gess1t
Posts: 16
Joined: Tue Oct 02, 2018 8:24 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Mar 11, 2019 7:58 pm

Hi everyone, installed successfully minecraft, but when i run it, i get 1 FPS in main menu and ingame + character move alone and most of the time, the game will crash.

I activated the full kms drivers, installed mesa, all this stuff, i saw when installing the game that glxgears had flickering colors and was running at 53 FPS.
My Pi's 3B+ CPU is OC at 1550 Mhz, Gpu and memory is also OC, but at 500 Mhz.
128 MB is being allocated for the GPU
When the game start, the cpu is being used at 100% and 300 Mb/512 Mb is used.
My PSU is 5V / 2.5A.
Had to install java 1.8.0_65 manually because it isn't installed on strech lite.
Desktop envirronment is Pixel.
Tried fake KMs drivers, same problem.
Any idea on how to fix it?

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Mon Mar 11, 2019 9:01 pm

I think something else is missing from Stretch Lite that is stopping the GL driver from working.

Have you got a spare SD Card you can install Stretch with Desktop?

Gess1t
Posts: 16
Joined: Tue Oct 02, 2018 8:24 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Tue Mar 12, 2019 5:38 am

rpiMike wrote:
Mon Mar 11, 2019 9:01 pm
I think something else is missing from Stretch Lite that is stopping the GL driver from working.

Have you got a spare SD Card you can install Stretch with Desktop?
Don't have any left here, will have to buy one.

Is there is anyway that i can check logs?

Edit: will try doing the same as the topic you sent me in couple hours, i hope it will work.
I finished downloading strech w/ desktop.
And i will probably buy anothrr 32 GB sd card soon, just in case.
Last edited by Gess1t on Tue Mar 12, 2019 5:50 pm, edited 1 time in total.

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Tue Mar 12, 2019 1:09 pm

This might help, haven't tried it myself:

viewtopic.php?t=221131

Gess1t
Posts: 16
Joined: Tue Oct 02, 2018 8:24 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Tue Mar 12, 2019 6:57 pm

first, Thx you for redirecting me to this topic.
Glxgears don't have flickering colors anymore, and for minecraft, i have to run the command 2 times to make the game run, but it run smooth !!! :D

For other that have this problem with about the same setup as me, try deleting 99-fbturbo.conf
to do so:

Code: Select all

cd /usr/share/X11/xorg.conf.d/
then,

Code: Select all

sudo rm 99-fbturbo.conf
Will have to fix another problem about VNC now, but i'll do it on another thread, thx again.
BTW, i can't play fullscreen for 2 min without crashing.

EDIT: Well, that's a rip, minecraft won't start without crashing my pi now, probably because i left it on full screen, i don't see any config file in the minecraft folder, can i even find it?

EDIT2: Well apparently, it happen sometimes, it's working for now, for some reason, glxgears is running fine at 60 FPS, but minecraft run at 8 FPS sometimes, and other times, at around 40-45 FPS, i set a 60 FPS limit, just in case i hit 60 one day.
Most of the time, the game will also crash couple minutes after joining a world / server, or it will even make crash the whole pi (that last issue happen more frequently than other).

ZackDaTitan
Posts: 2
Joined: Tue Jul 03, 2018 4:09 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Mar 14, 2019 2:26 pm

I've followed this tutorial exactly many times and copied the -cp... for my 1.13.2 Optifine and changed the run script accordingly but it keeps crashing from terminal w/ "Java.lang.UnsatisfiedLinkError: Failed to locate library: liblwjgl32.so" and I know the "32" library doesn't exist in this tutorial. Can someone please help me to get the latest Minecraft version running?

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

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Thu Mar 14, 2019 2:29 pm

Minecraft 1.13 and above will not work unless someone can help build the lwjgl3 library for the Pi:

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

Gess1t
Posts: 16
Joined: Tue Oct 02, 2018 8:24 pm

Re: How to setup Minecraft 1.12.1 on Raspberry Pi 3

Sat Mar 16, 2019 12:40 am

Hi, i'm back, because it's not working anymore !

i reinstalled all the packages, ect... running glxgears at 125 FPS on full KMS

got this when running the runOptifine sh file :

crash report : https://pastebin.com/D1JMy51M
Logs : https://pastebin.com/BFD007KE

Had couple of crash (Game and raspberry crash as described before) when playing the game + my config.txt content got deleted, fortunately, i had a backup.

Return to “Gaming”