Please don't respond with "Just don't use it then", because, chances are, I will still use it. I've been trying to edit my Minecraft .jar file and I've found where the construction of the LAN worlds go, so I've tried everything to configure it, but I can't seem to edit it without crashing upon loading my new world up.
Is there a way to stop myself from starting up a LAN world on my survival and enabling gamemodes?
EDIT: I'll need to mess with the GUI in order to exact myself from hitting 'Open to LAN'. Problem is, I can't find the line of code whereas I'm meant to mess with..
You can't really disable making of LAN worlds since the singleplayer game always runs on an internal server. "Open to LAN function" only allows other players to join that server via LAN and enables server features like gamemodes.
Singleplayer and multiplayer client code is identical, the only difference is where the server is. They were unified a long time ago. Earlier Singleplayer and Multiplayer were almost 2 different games.
In singleplayer the game runs an internal server in the background, in multiplayer the server is run by a separate application (and preferably on a different computer). That's why multiplayer runs usually a bit better (your PC doesn't have to run the server).
If you start messing with the internal server ... no wonder you crash.
You might look into modifying the GUI though, to disable the "Open to LAN" button.
Exactly what I was thinking! I just can't find out where the line of code is...
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is there a way to stop myself from starting up a LAN world on my survival and enabling gamemodes?
EDIT: I'll need to mess with the GUI in order to exact myself from hitting 'Open to LAN'. Problem is, I can't find the line of code whereas I'm meant to mess with..
Oh well, that sucks. Thanks for your help!
Exactly what I was thinking! I just can't find out where the line of code is...