Help with Custom Code GUI

Started by Rikurob on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with Custom Code GUI

I need help getting rid of the greyed out background behind a GUI, like not the actual background image, but the slightly greyed out part where you can see Minecraft around that. I'm making a custom GUI for a spellbook with image buttons so I've already edited the code quite a bit. That I want to get rid of that and I have been playing with the code and looking stuff up but can't figure it out. It isn't necessary but it would make the mod look much more cohesive for what I am doing.

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also, how do I make a GUI…
Sat, 05/07/2022 - 08:12

Also, how do I make a GUI lock to the bottom left. I can make it lock to the Top Left, but I can't get it to lock to the bottom. Anyone know?

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the code, instead of…
Sat, 05/07/2022 - 08:18

In the code, instead of putting 0 to get the very top of the screen or this.topPos what could I use?

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A work around would be to…
Sat, 05/07/2022 - 08:26

A work around would be to call the screen size and go from there but I'm not sure the code for that.