Jump to content

Recommended Posts

Posted

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.

 

 

Posted

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 ?

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.