Help With Minecraft LAN Server On Mac

From Yogi Central
Jump to: navigation, search

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



Diagnose



To diagnose this because the cause, first launch Minecraft from terminal with the _JAVA_Options overridden.



1. Shut Minecraft2. Open 🔎 Highlight (🔎 in higher proper of Desktop)3. Seek for "Terminal", open the appPaste the next command in:



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



Try and hook up with LAN server and see if it fixes the problem



Permanently Fix



Using Minecraft Launch Choices: @TheOnlyMrCat supplies a method here that does not involve modifying any files by hand. Please try that before making modifications to the Minecraft launcher. Minecraft servers



Patching the launcher manually:



Use this method only if in case you have problems utilizing @TheOnlyMrCat's answer.



This _JAVA_Choices override can be supplied in lots of locations however since launching from Terminal just isn't superb, we need to use a way that fixes when clicking on the icon. At time of posting, the Apple advisable methodology for offering overrides is inside the App bundle itself utilizing something referred to as LSEnvironment



1. Optionally set up a Text Editor such as Atom to edit XML files.2. Using Finder, go to Functions3. Minecraft servers Find (do not open) the Minecraft App4. Right click on Minecraft, Present Bundle Contents5. Go into the Contents folder and locate Information.plist6. Proper click Information.plist, Open With, Atom (or TextEditor)Near the underside of the file, add the next in between the LSEnvironment _JAVA_Choices -Djava.internet.preferIPv4Stack=true



Sadly this doesn't take impact immediately. This is because of the way in which Mac caches it is launch companies.