How do I create a HUD?

Started by Ironcraft Animations on Sat, 11/02/2019 - 01:24

Topic category: Help with modding (Java Edition)

Last seen on 14:27, 20. Mar 2020
Joined Jul 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I create a HUD?
Sun, 11/03/2019 - 01:22 (edited)

 

I want to create a HUD But I don't know how to do it, In the Comments please say how to Create a HUD step by step (But let it be from Mcreator 1.9.1)

Edited by Ironcraft Animations on Sun, 11/03/2019 - 01:22
Last seen on 14:27, 20. Mar 2020
Joined Jul 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
(No subject)
Sat, 11/02/2019 - 02:16

How???

Last seen on 23:44, 7. Jan 2020
Joined Sep 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I haven't played around with…
Sat, 11/02/2019 - 03:37

I haven't played around with HUD's much, but I believe you create an "Overlay" mod element. :) Hope you can figure the rest out, because that's all I know XD

Last seen on 14:27, 20. Mar 2020
Joined Jul 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
AHHHHH Overlay is to create…
Sat, 11/02/2019 - 03:55

AHHHHH Overlay is to create HUD!

Last seen on 14:27, 20. Mar 2020
Joined Jul 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
  ¿But how do I get…
Sat, 11/02/2019 - 04:09

 

¿But how do I get activated when I have a suit on and when I have an item in my hand?

Last seen on 14:27, 20. Mar 2020
Joined Jul 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
  I want the hand to…
Sat, 11/02/2019 - 19:47

 

I want the hand to disappear when the Overlay is activated (Image please)

Last seen on 00:57, 12. Aug 2020
Joined Feb 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
That isn't so easy to do…
Mon, 11/04/2019 - 02:08

That isn't so easy to do. You can only do that through coding. Pretty advanced coding as well I believe.

Last seen on 14:27, 20. Mar 2020
Joined Jul 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
oh... ok
Mon, 11/04/2019 - 02:11

oh... ok

Last seen on 03:32, 29. Jul 2020
Joined Jul 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Fun fact - if you go into…
Sun, 11/10/2019 - 07:38

Fun fact - if you go into the text based editor and look at the general structure of it and create more then one overlay with small changes, you can look for the changes and compare them to a blank "control sample" overlay that has nothing in it,
to understand how things are added to the overlay in the code itself ;)

Its hard but once you kinda understand the general structure, you can learn off it!
and use it to insert values into areas they should not be ;)

like for instance, inserting an item id slot value from the player entity via a gui's bit of code, into a text display of an overlay, to display a really strange item id value as text!

lol!

You will have a lot of fun with this, who knows,
pehaps you will figure out how to make a health bar display with images via looking at the code of other mods!
 

the java format is the same with other mods!!!

use 7 Zip or something to view the contents of a jar file of a random non Mcreator mod

and look for some kind of HUD - Overlay - GUI
that has a health bar in it!
 

 

then just copy and paste, learn off, edit and add stuff to your code via the code of that mod's files ;)

 

its really cool and i really recommend messing around with it.

Last seen on 03:32, 29. Jul 2020
Joined Jul 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
for instance,    i made a…
Sun, 11/10/2019 - 07:39

for instance, 

 

i made a modeled 3D eatable food item of a tomato that has an ore table for other mod support and all!

but its eating effects are missing textures lmao...

but it still works :P