Help With Minecraft LAN Server On Mac?

Drag to rearrange sections
Rich Text Content

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


Diagnose


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


1. Close Minecraft
2. Open 🔎 Spotlight (🔎 in upper proper of Desktop)
3. Seek for "Terminal", open the app
Paste the next command in:


_JAVA_Choices=-Djava.web.preferIPv4Stack=true /Functions/Minecraft.app/Contents/MacOS/launcher


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


Completely Repair


Using Minecraft Launch Choices: @TheOnlyMrCat gives a method right here that doesn't contain editing any information by hand. Please strive that before making changes to the Minecraft launcher.


Patching the launcher manually:


Use this technique solely when you've got issues utilizing @TheOnlyMrCat's answer.


This _JAVA_Choices override could be supplied in many places however since launching from Terminal will not be best, we need to make use of a method that fixes when clicking on the icon. At time of posting, the Apple advisable technique for offering overrides is inside the App bundle itself utilizing one thing referred to as LSEnvironment


1. Optionally set up Alusky.Xyz as Atom to edit XML information.
2. Utilizing Finder, go to Applications
3. Locate (don't open) the Minecraft App
4. Proper click Minecraft, Present Bundle Contents
5. Go into the Contents folder and find Data.plist
6. Right click on Information.plist, Open With, Atom (or TextEditor)
Near the bottom of the file, add the next in between the LSEnvironment _JAVA_Choices -Djava.net.preferIPv4Stack=true


Unfortunately this doesn't take effect immediately. This is due to the best way Mac caches it is launch providers.

rich_text    
Drag to rearrange sections
Rich Text Content
rich_text    

Page Comments

No Comments

Add a New Comment:

You must be logged in to make comments on this page.