Posted August 1, 201312 yr First off, lemme explain what i'm trying to do. You know in half-life games where the main menu is just a loaded map? That but in MC. I've got an instance of the local server running, but my problem is that I can't get the client to visually connect. I get this: 2013-07-29 21:56:58 [iNFO] [sTDOUT] loading single player 2013-07-29 21:56:58 [iNFO] [Minecraft-Server] Player593[/127.0.0.1:0] logged in with entity id 158 at (73.4211304951156, 67.0, -199.52293203796467) 2013-07-29 21:56:58 [iNFO] [Minecraft-Server] Player593 joined the game but after that I'm stuck on the main menu. Nothing changes. How do I force MC to switch to the ingame view? I've tried setting the GUI, but that's it; when MC runs the integrated server he DOES automagically pop into the game but I can't figure out how to replicate that.
August 1, 201312 yr So you want to show what is on the world spawn in the main menu after the integrated server as started ?
August 1, 201312 yr Author Yeah, I'm trying to figure out how to get the player in game for the first part. Displaying a GUI's the easy part.
August 1, 201312 yr From the log, the player is logged in. Which means you can get his socket adress, the player entity instance... You can use Minecraft.displayGuiScreen(instanceofyourguiclass), right ?
August 1, 201312 yr Author The player logs in,but visually I'm still on the main menu, I can't see a difference.
August 2, 201312 yr But you should have two screens. One is for the server holder and one for the client.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.