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

Started by The1GiantWalrus on

Topic category: Help with MCreator software

Last seen on 14:47, 12. Mar 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I add a new component to a vanilla GUI? Is it even possible?

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 14:47, 12. Mar 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.