Could someone teach me how to use overlays in mcreator??

Started by leonardoaguiar on

Topic category: Help with MCreator software

Active 4 months ago
Joined Nov 2024
Points:
23

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
Could someone teach me how to use overlays in mcreator??

Hello everyone, my name is Leonardo, and I wanted help from the Mcreator community, I wanted to know how to use Overlays, how to make them appear in the player interface and have connection with Key Binding too, I would like you to help me??

Active 6 days ago
Joined Nov 2023
Points:
104

User statistics:

  • Modifications: 1
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
First u need to know that u…
Wed, 11/27/2024 - 12:23

First u need to know that u can't add buttons to overlay. To make UI (Overlay) appear u need to make a procedure that ends with a return (true or false) then u can add when a button is clicked or released.

When 0 is equal to 0 do: show ovelay.   else: don't show overlay

Overlay target is where u want the overlay to be show to a player

Render priority is if it should be rendered in front of other overlays

Display overlay in-game is the procedure (like above) that makes the overlay appear or disappear