Help With Minecraft LAN Server On Mac?

This is not trivial as it requires forcing a _JAVA_Possibility override at launch (or system large).


Diagnose


To diagnose this as the cause, first launch Minecraft from terminal with the _JAVA_Choices overridden.


1. Close Minecraft
2. Open πŸ”Ž Highlight (πŸ”Ž in upper right of Desktop)
3. Search for “Terminal”, open the app
Paste the next command in:


_JAVA_Choices=-Djava.internet.preferIPv4Stack=true /Applications/Minecraft.app/Contents/MacOS/launcher


Try to connect with LAN server and see if it fixes the issue


Permanently Fix


Using Minecraft Launch Choices: @TheOnlyMrCat offers a technique right here that does not involve enhancing any recordsdata by hand. Please try that before making modifications to the Minecraft launcher.


Patching the launcher manually:


Use this method solely if you have problems utilizing @TheOnlyMrCat’s resolution.


This _JAVA_Choices override might be provided in many locations but since launching from Terminal just isn’t ideally suited, we want to make use of a way that fixes when clicking on the icon. At time of posting, the Apple really useful technique for providing overrides is inside the App bundle itself utilizing something referred to as LSEnvironment


1. Optionally install 30TT to Atom to edit XML files.
2. Utilizing Finder, go to Functions
3. Find (don’t open) the Minecraft App
4. Right click on Minecraft, Present Package deal Contents
5. Go into the Contents folder and find Info.plist
6. Proper click on Data.plist, Open With, Atom (or TextEditor)
Close to the underside of the file, add the following in between the LSEnvironment _JAVA_Options -Djava.web.preferIPv4Stack=true


Sadly this does not take impact immediately. This is because of the best way Mac caches it is launch providers.

Leave a comment

Design a site like this with WordPress.com
Get started