How to change the title of the Minecraft Windows ?

Started by Teyko on

Topic category: Help with MCreator software

Last seen on 14:56, 1. Oct 2023
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to change the title of the Minecraft Windows ?

Hi ! I would like to change this :

When im in main menu (for example "Main menu")
In main menu

And when im in singleplayer (for example "Solo")

In singleplayer

Last seen on 11:55, 27. Mar 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I edited the window title…
Fri, 03/26/2021 - 20:30

I edited the window title going on net.minecraft.client.minecraft  and editing the getWindowTitle into this

private String getWindowTitle() {
      StringBuilder stringbuilder = new StringBuilder("Main menu");
      ClientPlayNetHandler clientplaynethandler = this.getConnection();
      if (clientplaynethandler != null && clientplaynethandler.getNetworkManager().isChannelOpen()) {
         if (this.integratedServer != null && !this.integratedServer.getPublic()) {
            stringbuilder = new StringBuilder("Solo");
      }

      return stringbuilder.toString();
   }

I hope this fix your problems, probably this is not the cleanest way to do it, but I started coding today and it's the only way i found out

Last seen on 18:32, 10. Jun 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how i can type this ? with a…
Thu, 05/06/2021 - 16:25

how i can type this ? with a personalised element ?