Is it possible to display an item from a specific Gui into the HUD

Started by kidsune on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it possible to display an item from a specific Gui into the HUD

I am currently making a mod, a big part of it being a custom GUI, i want to activate certain abilities of items from said Gui and also display it above the XP bar, hotbar etc, so is there any way to display it with cooldowns etc?

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you create an overlay and…
Tue, 10/29/2024 - 15:24

If you create an overlay and then add a condition to the display overlay if... and set that condition to make it appear or disappear when ever you want. If you want a cooldown then just go to flow control and select wait x ticks block (20 ticks =  1 second for reference).