User avatar
DougieLawson
Posts: 39184
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Sat Apr 11, 2020 12:59 pm

Honzualdo wrote:
Fri Apr 10, 2020 12:32 pm
yes, but I don't know if I can connect to the server mc.survival-games.cz via Raspberry
writes to me: Failed to login : Access Token can not be null or empty. Do you think it could be repaired ??
That means you're passing the wrong credentials on your request to that server. You probably need to contact the owner to determine what's going wrong and what their server is expecting.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

mun2
Posts: 3
Joined: Sun Apr 26, 2020 10:56 am

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Sun Apr 26, 2020 11:01 am

Works like a treat. However, I can't seem to connect to servers because my 'access token is null or empty'. My question is, is this issue due to the launcher - meaning even if I pay for an account it won't work, or is this because I haven't paid for an account?

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

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Sun Apr 26, 2020 2:15 pm

mun2 wrote:
Sun Apr 26, 2020 11:01 am
Works like a treat. However, I can't seem to connect to servers because my 'access token is null or empty'. My question is, is this issue due to the launcher - meaning even if I pay for an account it won't work, or is this because I haven't paid for an account?
What servers are you trying to connect to? You need a valid Minecraft account.

mun2
Posts: 3
Joined: Sun Apr 26, 2020 10:56 am

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Mon Apr 27, 2020 1:17 pm

Ok, with an account I get this error when trying to connect to non-cracked servers: 'jav.lang.Nullpointer exception'

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

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Mon Apr 27, 2020 1:21 pm

What server are you trying to connect to?

mun2
Posts: 3
Joined: Sun Apr 26, 2020 10:56 am

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Mon Apr 27, 2020 2:47 pm

rpiMike wrote:
Mon Apr 27, 2020 1:21 pm
What server are you trying to connect to?
Mineplex, the IP is us.mineplex.com

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

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Mon Apr 27, 2020 3:27 pm

Works for me (tested on my Pi4 4GB), sorry don't know why it doesn't for you.

Do you get 'todays access token' when you start the run script?

Any more detail to you error message?

taskfe4r
Posts: 1
Joined: Thu May 07, 2020 9:28 pm

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Thu May 07, 2020 9:30 pm

Syntax error after putting in the last step plz help :D

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

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Fri May 08, 2020 3:49 am

taskfe4r wrote:
Thu May 07, 2020 9:30 pm
Syntax error after putting in the last step plz help :D
Can’t help unless you provide more detail. Which exact step? What is the exact error message? Which Pi? Which OS?

dominic03
Posts: 107
Joined: Fri Dec 21, 2018 1:50 am
Location: Indiana, USA

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Thu May 14, 2020 3:14 pm

Can you make a tutorial for Minecraft Forge too? I have some mods I'd like to play with. (14.23.5.2847 or later would be good because that's where a lot of mods run)
Raspberry Pi 4B 4gb running Manjaro ARM (via PINN)
Kingston 32 GB C10 (U1) microSD
Sceptre E225W 22" 75hz 1080p monitor
Overclocked to 2.147ghz

100 posts! Woo!

Doug_G
Posts: 2
Joined: Sun May 17, 2020 7:29 pm

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Sun May 17, 2020 7:40 pm

I have followed a tutorial for setting up a minecraft server on a Pi 4, and I would like to setup a couple clients to access it. Is this guide appropriate for playing on a remote server? My impression is this is oriented towards running a local game.

I have two kids that would like to access the same world together or by themselves. In order to do that, I assume I would need a remote server.

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

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Tue May 19, 2020 3:17 pm

Yes, this tutorial is for the local client. You should be able to connect to a minecraft server on your local network or across the internet.

SC13NC3F1CT10N
Posts: 19
Joined: Sun Jan 19, 2020 10:53 pm

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Thu Jun 25, 2020 8:06 pm

Anyone know how I might install this on retropie? :?:
If you turn on Javascript, the text will change.

lyn1337
Posts: 1
Joined: Tue Jun 30, 2020 9:20 pm

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Tue Jun 30, 2020 9:26 pm

Here are my results!

Code: Select all

pi@home:~/Minecraft $ cat ../.minecraft/crash-reports/crash-2020-06-30_23.03.08-client.txt 
---- Minecraft Crash Report ----
// Daisy, daisy...

Time: 6/30/20 11:03 PM
Description: Initializing game

java.lang.ExceptionInInitializerError
	at Config.getDisplayModes(Config.java:1859)
	at bid$a.<clinit>(GameSettings.java:3596)
	at bid.<init>(GameSettings.java:332)
	at bib.aq(SourceFile:443)
	at bib.a(SourceFile:404)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:159)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:30)
Caused by: java.lang.RuntimeException: org.lwjgl.LWJGLException: No modes available
	at org.lwjgl.opengl.Display.<clinit>(Display.java:141)
	... 12 more
Caused by: org.lwjgl.LWJGLException: No modes available
	at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:740)
	at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
	... 12 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
	at Config.getDisplayModes(Config.java:1859)
	at bid$a.<clinit>(GameSettings.java:3596)
	at bid.<init>(GameSettings.java:332)
	at bib.aq(SourceFile:443)

-- Initialization --
Details:
Stacktrace:
	at bib.a(SourceFile:404)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:159)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:30)

-- System Details --
Details:
	Minecraft Version: 1.12.2
	Operating System: Linux (arm) version 4.19.118-v7l+
	Java Version: 1.8.0_211, Oracle Corporation
	Java VM Version: Java HotSpot(TM) Server VM (mixed mode), Oracle Corporation
	Memory: 99682368 bytes (95 MB) / 169607168 bytes (161 MB) up to 1060372480 bytes (1011 MB)
	JVM Flags: 5 total; -Xmn128M -Xmx1024M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Launched Version: 1.12
	LWJGL: 2.9.4
	OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
	GL Caps: 
	Using VBOs: ~~ERROR~~ NullPointerException: null
	Is Modded: Very likely; Jar signature invalidated
	Type: Client (map_client.txt)
	Resource Packs: ~~ERROR~~ NullPointerException: null
	Current Language: ~~ERROR~~ NullPointerException: null
	Profiler Position: N/A (disabled)
	CPU: <unknown>
	OptiFine Version: OptiFine_1.12.2_HD_U_F4
	OptiFine Build: 20191023-234904
	Shaders: null
	OpenGlVersion: null
	OpenGlRenderer: null
	OpenGlVendor: null
	CpuCount: 0

Code: Select all

pi@home:~/Minecraft $ xrandr
Screen 0: minimum 320 x 200, current 2560 x 1080, maximum 7680 x 7680
HDMI-1 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   FIXED_MODE    60.00*+

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

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Tue Jun 30, 2020 11:10 pm

lyn1337 wrote:
Tue Jun 30, 2020 9:26 pm
Here are my results!

Code: Select all

pi@home:~/Minecraft $ cat ../.minecraft/crash-reports/crash-2020-06-30_23.03.08-client.txt 
---- Minecraft Crash Report ----
// Daisy, daisy...

Time: 6/30/20 11:03 PM
Description: Initializing game

java.lang.ExceptionInInitializerError
	at Config.getDisplayModes(Config.java:1859)
	at bid$a.<clinit>(GameSettings.java:3596)
	at bid.<init>(GameSettings.java:332)
	at bib.aq(SourceFile:443)
	at bib.a(SourceFile:404)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:159)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:30)
Caused by: java.lang.RuntimeException: org.lwjgl.LWJGLException: No modes available
	at org.lwjgl.opengl.Display.<clinit>(Display.java:141)
	... 12 more
Caused by: org.lwjgl.LWJGLException: No modes available
	at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:740)
	at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
	... 12 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
	at Config.getDisplayModes(Config.java:1859)
	at bid$a.<clinit>(GameSettings.java:3596)
	at bid.<init>(GameSettings.java:332)
	at bib.aq(SourceFile:443)

-- Initialization --
Details:
Stacktrace:
	at bib.a(SourceFile:404)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:159)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:30)

-- System Details --
Details:
	Minecraft Version: 1.12.2
	Operating System: Linux (arm) version 4.19.118-v7l+
	Java Version: 1.8.0_211, Oracle Corporation
	Java VM Version: Java HotSpot(TM) Server VM (mixed mode), Oracle Corporation
	Memory: 99682368 bytes (95 MB) / 169607168 bytes (161 MB) up to 1060372480 bytes (1011 MB)
	JVM Flags: 5 total; -Xmn128M -Xmx1024M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Launched Version: 1.12
	LWJGL: 2.9.4
	OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
	GL Caps: 
	Using VBOs: ~~ERROR~~ NullPointerException: null
	Is Modded: Very likely; Jar signature invalidated
	Type: Client (map_client.txt)
	Resource Packs: ~~ERROR~~ NullPointerException: null
	Current Language: ~~ERROR~~ NullPointerException: null
	Profiler Position: N/A (disabled)
	CPU: <unknown>
	OptiFine Version: OptiFine_1.12.2_HD_U_F4
	OptiFine Build: 20191023-234904
	Shaders: null
	OpenGlVersion: null
	OpenGlRenderer: null
	OpenGlVendor: null
	CpuCount: 0

Code: Select all

pi@home:~/Minecraft $ xrandr
Screen 0: minimum 320 x 200, current 2560 x 1080, maximum 7680 x 7680
HDMI-1 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   FIXED_MODE    60.00*+
Is your screen resolution 2560x1080? That is unusual, might cause problems with GL drivers or LWJGL3.

Can you select a more conventional screen size?

TamaTamaGoGo
Posts: 50
Joined: Tue Dec 24, 2019 5:54 am
Location: Japan
Contact: Website Twitter

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Fri Jul 03, 2020 9:15 am

mun2 wrote:
Mon Apr 27, 2020 1:17 pm
Ok, with an account I get this error when trying to connect to non-cracked servers: 'jav.lang.Nullpointer exception'
I found it at yahoo, and it says that you should install Minecraft again.

Try
  • Delete .minecraft (I think you should make backups)
  • Rerun MinecraftLauncher and click Play
  • Rerun OptiFine installation
  • Rerun MinecraftLauncher and set profiles to OptiFine and Play
  • run script for Minecraft
I think you will successfully enter to server.
Reply plz__
Hello!
I am TamaTama.
I am Japanese, so I am not good at English. :|
Check my raspi site. :D
https://tamatechraspi.tech.blog
I am making a script of Minecraft for rasbian buster.
Search “MCPi” at forums!

Craftmaster
Posts: 2
Joined: Mon Jul 06, 2020 3:08 pm

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Mon Jul 06, 2020 3:20 pm

I have a display, that needs the config.txt to be modified to work. I modified it and minecraft crashes, or when I put the screen to another HDMI port it displays only black image and nothing else. Here is my config.txt:
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
over_voltage=6
arm_freq=2000
gpu_freq=750

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2

[all]
dtoverlay=vc4-fkms-v3d
max_usb_current=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 1024 600 60 6 0 0 0
hdmi_drive=1
gpu_mem=256


Btw. I have a raspberry pi 4 and as you can see from the config.txt I have it overclocked to 2 ghz on CPU and 750 mhz on GPU

Craftmaster
Posts: 2
Joined: Mon Jul 06, 2020 3:08 pm

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Mon Jul 06, 2020 3:29 pm

Not working for me. I have a pi 4B 4GB and a display, that requires me to edit the config.txt to work properly. I edited it and everything works, but minecraft crashes, or when I plug the display to the second HDMI port it justgoes black screen when I turn minecraft on. Here is my config.txt:
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
over_voltage=6
arm_freq=2000
gpu_freq=750

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2

[all]
dtoverlay=vc4-fkms-v3d
max_usb_current=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 1024 600 60 6 0 0 0
hdmi_drive=1
gpu_mem=256
---- Minecraft Crash Report ----
// Quite honestly, I wouldn't worry myself about that.

Time: 7/6/20 4:42 PM
Description: Initializing game

java.lang.ExceptionInInitializerError
at Config.get isplayModes(Config.java:1859)
at bid$a.<clinit>(GameSettings.java:3596)
at bid.<init>(GameSettings.java:332)
at bib.aq(SourceFile:443)
at bib.a(SourceFile:404)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:159)
at net.minecraft.launchwrapper.Launch.main(Launch.java:30)
Caused by: java.lang.RuntimeException: org.lwjgl.LWJGLException: No modes available
at org.lwjgl.opengl.Display.<clinit>(Display.java:141)
... 12 more
Caused by: org.lwjgl.LWJGLException: No modes available
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:740)
at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
... 12 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
at Config.getDisplayModes(Config.java:1859)
at bid$a.<clinit>(GameSettings.java:3596)
at bid.<init>(GameSettings.java:332)
at bib.aq(SourceFile:443)

-- Initialization --
Details:
Stacktrace:
at bib.a(SourceFile:404)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:159)
at net.minecraft.launchwrapper.Launch.main(Launch.java:30)

-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Linux (arm) version 4.19.118-v7l+
Java Version: 1.8.0_211, Oracle Corporation
Java VM Version: Java HotSpot(TM) Server VM (mixed mode), Oracle Corporation
Memory: 87762344 bytes (83 MB) / 168296448 bytes (160 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 5 total; -Xmn128M -Xmx1024M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Launched Version: 1.12
LWJGL: 2.9.4
OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
GL Caps:
Using VBOs: ~~ERROR~~ NullPointerException: null
Is Modded: Very likely; Jar signature invalidated
Type: Client (map_client.txt)
Resource Packs: ~~ERROR~~ NullPointerException: null
Current Language: ~~ERROR~~ NullPointerException: null
Profiler Position: N/A (disabled)
CPU: <unknown>
OptiFine Version: OptiFine_1.12.2_HD_U_F4
OptiFine Build: 20191023-234904
Shaders: null
OpenGlVersion: null
OpenGlRenderer: null
OpenGlVendor: null
CpuCount: 0

And the crash report:

valnurat
Posts: 10
Joined: Wed May 21, 2014 7:07 am

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Mon Jul 06, 2020 5:54 pm

I'm very new to this, but I'm looking for a guide to install MC server on a RPI.
Is this topic a MC server guide?

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

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Mon Jul 06, 2020 6:02 pm

valnurat wrote:
Mon Jul 06, 2020 5:54 pm
I'm very new to this, but I'm looking for a guide to install MC server on a RPI.
Is this topic a MC server guide?
No, this is for MC client.

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

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Mon Jul 06, 2020 9:54 pm

Craftmaster wrote:
Mon Jul 06, 2020 3:29 pm
Not working for me. I have a pi 4B 4GB and a display, that requires me to edit the config.txt to work properly. I edited it and everything works, but minecraft crashes, or when I plug the display to the second HDMI port it justgoes black screen when I turn minecraft on. Here is my config.txt:

Caused by: org.lwjgl.LWJGLException: No modes available
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:740)
at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
... 12 more
Googling this suggests a bug in LWJGL2, not parsing output from 'xrandr -q' as you only have one resolution.

This is a long shot, use:

Code: Select all

cvt 1024 600 60
Then take the cvt response and add to the end of:

Code: Select all

xrandr --newmode "1024x600_60.00" ....
eg: xrandr --newmode "800x480_60.00" 29.50 800 824 896 992 480 483 493 500 -hsync +vsync

Then try running Minecraft.

memeology
Posts: 1
Joined: Tue Jul 07, 2020 10:52 am

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Tue Jul 07, 2020 11:04 am

I did everything you have provided in the instructions. But when I join Hypixel to play some of their mini-games, the terminal says Killed and the minecraft window automatically closes

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

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Tue Jul 07, 2020 11:29 am

memeology wrote:
Tue Jul 07, 2020 11:04 am
I did everything you have provided in the instructions. But when I join Hypixel to play some of their mini-games, the terminal says Killed and the minecraft window automatically closes
Which Pi? Are you using your own valid Minecraft account? Does it work locally? Have you only got Minecraft running?

swansswansswansswans
Posts: 1
Joined: Sat Jul 11, 2020 2:53 am

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Sat Jul 11, 2020 3:01 am

Hi rpiMike - thank you very much for your detailed tutorials and carefully constructed bash scripts. I have been able to successfully load up Minecraft 1.12.2 on the two Raspberry Pi 4s that I bought for my kids. My next goal is to add controller support, but It seems like I need to use Forge to install the mod to enable controller support. I am really not sure how to get Forge and OptiFine to work together as I am a noob to this space.

I followed the other two tutorials that suggested I could get both Forge and OptiFine to work together, but I wasn't successful. I tried many times :( :ugeek:

Do you have any suggestions for me adding in Forge so that I can get this controller support?

Big thanks - you are a huge asset to this community!

Alexander Enderman
Posts: 2
Joined: Mon Jul 20, 2020 12:55 am

Re: How to setup Minecraft 1.12.2 on Pi3 or Pi4

Mon Jul 20, 2020 1:00 am

I have run Minecraft 1.12.2 on 1 gb pi 4. minecraft ran about 20 minutes before crashing

Return to “Gaming”