Assist With Minecraft LAN Server On Mac

From Doku Wiki
Jump to: navigation, search

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



Diagnose



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



1. Close Minecraft2. top top blog Open 🔎 Highlight (🔎 in higher right of Desktop)3. Search for "Terminal", open the appPaste the following command in:



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



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



Permanently Fix



Using Minecraft Launch Options: @TheOnlyMrCat supplies a technique right here that does not involve enhancing any recordsdata by hand. Please try that earlier than making modifications to the Minecraft launcher.



Patching the launcher manually:



Use this method only if in case you have issues using @TheOnlyMrCat's answer.



This _JAVA_Options override can be provided in many locations however since launching from Terminal shouldn't be splendid, we need to make use of a way that fixes when clicking on the icon. At time of posting, the Apple really helpful technique for providing overrides is contained in the App bundle itself utilizing something referred to as LSEnvironment



1. Optionally install a Textual content Editor comparable to Atom to edit XML information.2. Utilizing Finder, go to Purposes3. Locate (don't open) the Minecraft App4. Proper click Minecraft, Show Bundle Contents5. Go into the Contents folder and find Info.plist6. Right click on Data.plist, Open With, Atom (or TextEditor)Close to the bottom of the file, add the next in between the LSEnvironment _JAVA_Choices -Djava.internet.preferIPv4Stack=true



Sadly this doesn't take effect immediately. This is due to the way in which Mac caches it's launch services.