How to make your own hud



Creating the hud


  1. Locating your hudder config folder: you can do this simply by going to Hudder's options menu and clicking the text at the bottom of "general". After that your file explorer should open up with Hudder's config folder!
  2. Creating the hudder file: Simply create a file (or use one that already exists [don't modify hud.json!]), open it in your preferred editor (let's be honest it's prob notepad) and start writing!
  3. Open Hudder's options menu and make sure that the "main file" option is set to your hud file's name.
  4. Step 4 - Start writing your hud!

Actually writing the hud



Normal text



You just write it, writing "words are beautiful" in the file will show "words are beautiful" in game.

Character escaping and Color Codes



Most of what you'll write will probably be normal text, variables, conditions etc. But in some cases you'll want to use reserved characters (';','%','#','&','{') as normal text (ex. you want to use '%' without Hudder considering it a condition). In those cases you'll need to add a backslash before the character (ex. '\%').

Color codes work as minecraft intended.

Text sections



You want to put text in the bottom right corner instead of top left? no problemo! use sections like ;bottomright; (note that only text after it will be affected)

Basic variables (fps, memory usage etc)



Let's say you want to add some real basic stuff like an fps count and all that stuff, well it's pretty simple! all you need to do is write the name of the variable between curly brackets and Hudder will do the rest! (ex. {fps}, {used_memory} etc.)

A full list of variables can be found here!

Basic conditions



So, you got a fancy new FPS meter but it still doesn't feel quite right yet, you want to know when you need to buy a new computer because your frame rate is 999 instead of 1000? Use conditions! Conditions have a real structureand if that structure is not followed unexpected behavior can occur! But not to fear! I am here to help you understand them! Conditions are structured like this (Note there is no limit to the number of else I just put 2 cuz I am lazy, could be 1, 2, 3, how many you possibly need):

%condition 1, "condition 1 is true", condition 2, "condition 2 is true", "neither condition is true"%
Want some examples? well here ya go:

&%fps<30, "4", fps<60, "e", "a"%{fps} - This will show the fps meter in different colors depending if it's below 30 or 60 fps.

%ping>5, "{ping}", ""% - This will show your ping only if it is above 5!

%is_slime, "Slime chunk!"% - This will show "Slime chunk!" if you are standing inside a slime chunk.

Advanced variables and Functions


Functions are available at Hudder version 5.0.0 or above! Arrayes are available at Hudder version 5.5.0 or above! Let's do this one quickly:

Setting custom variable values - {variable=10} will set {variable} to 10. {var=fps} will set var to your fps count.
Math - {math_result=fps+10+math_result} will do as you could've guessed, math. use * for multiplications, / for divisions and % for remainder.
Functions - {math_result=length("text")+2} will set math_result to the length of the word "text" plus 2.

All of those could be used together if needed, you could pass a function to a function (ex. int(str(10)) which returns 10) until infinity, etc.
A full list of functions is provided here!

Using methods



you can use ;[method], and, it's, parameters; to call builtin methods.they are built similar to conditions except the parameters are not predefinied and can be variables (which can be changed as specified in the section above).

A full list of variables can be found here!