How do I create a HUD?

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

Topic category: Help with MCreator modding

Last seen on 01:24, 24. Nov 2019
Joined Jul 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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
0Upvote this forum topic
Last seen on 00:00, 5. Dec 2019
Joined Sep 2017
User points:

Statistics:

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

0Upvote this forum topic
Last seen on 01:24, 24. Nov 2019
Joined Jul 2017
User points:

Statistics:

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

AHHHHH Overlay is to create HUD!

0Upvote this forum topic
Last seen on 01:24, 24. Nov 2019
Joined Jul 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  ¿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?

0Upvote this forum topic
Last seen on 01:24, 24. Nov 2019
Joined Jul 2017
User points:

Statistics:

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

 

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

0Upvote this forum topic
Last seen on 02:13, 8. Dec 2019
Joined Feb 2016
User points:

Statistics:

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

0Upvote this forum topic
Last seen on 01:24, 24. Nov 2019
Joined Jul 2017
User points:

Statistics:

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

oh... ok

0Upvote this forum topic
Last seen on 23:26, 14. Nov 2019
Joined Jul 2019
User points:

Statistics:

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

0Upvote this forum topic
Last seen on 23:26, 14. Nov 2019
Joined Jul 2019
User points:

Statistics:

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

0Upvote this forum topic