This isn't trivial because it requires forcing a _JAVA_Option override at launch (or system large).
Diagnose
To diagnose this as the cause, first launch Minecraft from terminal with the _JAVA_Choices overridden.
1. Shut Minecraft
2. Open 🔎 Spotlight (🔎 in higher proper of Desktop)
3. Search for "Terminal", open the app
Paste the next 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 problem
Completely Repair
Utilizing Minecraft Launch Choices: @TheOnlyMrCat offers a technique right here that doesn't involve editing any recordsdata by hand. Please strive that before making adjustments to the Minecraft launcher.
Patching the launcher manually:
Use this method solely when you have problems using @TheOnlyMrCat's solution.
This _JAVA_Options override might be offered in many places but since launching from Terminal isn't excellent, we'd like to make use of a technique that fixes when clicking on the icon. At time of posting, the Apple advisable methodology for providing overrides is contained in the App bundle itself using one thing known as LSEnvironment
1. Optionally set up a Text Editor resembling Atom to edit XML recordsdata.
2. Utilizing Premium Content , go to Functions
3. Locate (don't open) the Minecraft App
4. Proper click on Minecraft, Show Bundle Contents
5. Go into the Contents folder and locate Information.plist
6. Right click Info.plist, Open With, Atom (or TextEditor)
Close to the bottom of the file, add the next in between the LSEnvironment _JAVA_Options -Djava.internet.preferIPv4Stack=true
Unfortunately this doesn't take effect right away. This is due to the way in which Mac caches it is launch providers.
Log in to comment