Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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.

 

 

So you want to show what is on the world spawn in the main menu after the integrated server as started ?

 

  • 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.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.