Assist With Minecraft LAN Server On Mac?

Assist With Minecraft LAN Server On Mac?


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

Diagnose

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

1. Close kd76 . Open 🔎 Highlight (🔎 in upper right of Desktop)

3. Search for "Terminal", open the app

Paste the following command in:

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

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

Completely Fix

Using Minecraft Launch Options: @TheOnlyMrCat supplies a way here that does not contain enhancing any files by hand. Please try that before making modifications to the Minecraft launcher.

Patching the launcher manually:

Use this technique solely in case you have problems utilizing @TheOnlyMrCat's solution.

This _JAVA_Choices override will be offered in lots of locations but since launching from Terminal just isn't splendid, we'd like to use a technique that fixes when clicking on the icon. At time of posting, the Apple beneficial methodology for providing overrides is inside the App bundle itself using one thing called LSEnvironment

1. Optionally set up a Text Editor equivalent to Atom to edit XML recordsdata.

2. Using Finder, go to Applications

3. Locate (do not open) the Minecraft App

4. Proper click Minecraft, Show Bundle Contents

5. Go into the Contents folder and locate Information.plist

6. Proper click on Information.plist, Open With, Atom (or TextEditor)

Close to the underside of the file, add the next in between the LSEnvironment _JAVA_Choices -Djava.web.preferIPv4Stack=true

Sadly this does not take effect immediately. This is because of the way in which Mac caches it is launch companies.

Report Page