How do I add a new component to a vanilla GUI? Is it even possible?

Started by The1GiantWalrus on Tue, 09/03/2019 - 09:27

Topic category: Help with MCreator's application

Last seen on 16:03, 19. Oct 2019
Joined Sep 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How do I add a new component to a vanilla GUI? Is it even possible?
Tue, 09/03/2019 - 09:27

I want to add a new button to the death screen GUI. You know, the screen that shows the death message and all that?

Anyway, is this possible to do? And, how? If not on the death screen, then is it possible at all?

You can do this, but will…
Tue, 09/03/2019 - 11:10

You can do this, but will make your mod incompatible with other mods that do this. Example for the code for this can be found in our Minecraft Link main screen overlay code: https://github.com/Pylo/MinecraftLink/blob/master/src/main/java/net/mcreator/minecraft/link/gui/ScreenEventHandler.java

Last seen on 16:03, 19. Oct 2019
Joined Sep 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Where do I put that code in…
Tue, 09/03/2019 - 12:13

Where do I put that code in and how do I make it show on the death screen?

You will need to detect…
Tue, 09/03/2019 - 17:46

You will need to detect death screen render event and build from there. You will need some Java knowledge for this, though.