Assist With Minecraft LAN Server On Mac

From Yogi Central
Jump to: navigation, search

This isn't trivial as it requires forcing a _JAVA_Choice override at launch (or system vast).



Diagnose



To diagnose this because the trigger, first launch Minecraft from terminal with the _JAVA_Choices overridden.



1. Shut Minecraft2. Open 🔎 Highlight (🔎 in upper right of Desktop)3. Seek for "Terminal", open the appPaste the following command in:



_JAVA_Options=-Djava.web.preferIPv4Stack=true /Applications/Minecraft.app/Contents/MacOS/launcher



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



Completely Fix



Utilizing Minecraft Launch Choices: @TheOnlyMrCat provides a way here that doesn't involve enhancing any recordsdata by hand. Please try that earlier than making modifications to the Minecraft launcher.



Patching the launcher manually:



Use this technique solely you probably have problems using @TheOnlyMrCat's resolution.



This _JAVA_Choices override may be offered in lots of places but since launching from Terminal is not best, we need to make use of a technique that fixes when clicking on the icon. At time of posting, the Apple beneficial method for providing overrides is contained in the App bundle itself utilizing one thing known as LSEnvironment



1. Optionally install a Textual content Editor akin to Atom to edit XML recordsdata.2. Teamextrememc Using Finder, go to Purposes3. Locate (do not open) the Minecraft App4. Right click on Minecraft, Show Package Contents5. Go into the Contents folder and locate Data.plist6. Right click Information.plist, Open With, Atom (or TextEditor)Close to the bottom of the file, add the following in between the LSEnvironment _JAVA_Choices -Djava.internet.preferIPv4Stack=true



Unfortunately this does not take effect instantly. This is because of the best way Mac caches it is launch companies.