**What's new in v2.0.0!**
- **All the new stuff is documented!**
- Huge refactor needed to allow for conditionals (some variables act a bit differently now)
- Finally add **better conditionals**, with comparison support ([#2](https://github.com/Minenash/CustomHUD/issues/2), [#14](https://github.com/Minenash/CustomHUD/issues/14))
- Also includes 1-deep nesting! (hey, it's better than the previous 0) To nest, use `'` instead of `"` in the inner one
- Added variable flags:([#5](https://github.com/Minenash/CustomHUD/issues/5), [#26](https://github.com/Minenash/CustomHUD/issues/26))
- uppercase (`-uc`), lowercase (`-lc`), titlecase (`-tc`), smallcaps (`-sc`), and no dashes (`-nd`) for String variables
- precision (`-p<precision>`) and scale (`-s<scale>`, can either be decimal or fraction) for Decimal variables
- Added a Statistic variable ([#19](https://github.com/Minenash/CustomHUD/issues/19))
- Syntax: `{stat:<minecraft_statistic_id>}` or `{stat:<type>:<value>}`
- Since mc stats are `int`s, you can use the scale and precision flags to get it to the right unit
- Also has `-f` flag to use the stat's built-in formatter (doesn't work with scale and precision flags)
- Updates twice a second for now (it's limited as it has to send and receive a packet from the server to update)
- Added variables for target block, fluid, and entity ([#8](https://github.com/Minenash/CustomHUD/issues/8))
- Block: `{target_block}` (block name) and `{target_block_id}` (target cord variables already exist)
- Fluid: `{target_fluid}`, `{target_fluid_id}`, `{target_fluid_x}`/`{tfx}`, `{target_fluid_y}`/`{tfy}`, `{target_fluid_z}`/`{tfz}`
- Entity: `{target_entity}`, `{target_entity_id}`, `{target_entity_x}`/`{tex}`, `{target_entity_y}`/`{tey}`, `{target_entity_z}`/`{tez}`
- Added variables for held items: ([#23](https://github.com/Minenash/CustomHUD/issues/23))
- Main hand: `{item}`, `{item_id}`, `{item_dur}`, `{item_max_dur}`, `{item_dur_per}`, `{item_has_dur}`
- Offhand: `{oitem}`, `{oitem_id}`, `{oitem_dur}`, `{oitem_max_dur}`, `{oitem_dur_per}`, `{oitem_has_dur}`
- Added Region variables (in 1.18, it's the number and file name next to chunk_x and chunk_z)
- Region: `{region_x}`/`{rex}`, `{region_z}`/`{rez}`
- Region Relative: `{region_relative_x}`/`{rrx}`, `{region_relative_z}`/`{rrz}`
- Added CPU Usage (`{cpu}`/`{cpu_usage}`) ([#14](https://github.com/Minenash/CustomHUD/issues/14))
- Added GPU Usage (`{gpu}`/`{gpu_usage}`)
- Added Slime Chunk boolean variable (`{slime_chunk}`) ([#13](https://github.com/Minenash/CustomHUD/issues/13))
- Added Simulation Distance (`{simulation_distance}`/`{sd}`)
- Added Off Heap Memory (`{memory_off_heap}`)
- Added Sodium Support:
- `{sodium_version}`, `{sodium_chunk_arena_allocator}`, `{sodium_staging_buffers}`, `{sodium_buffer_objects}`, `{sodium_memory_used}`, `{sodium_memory_allocated}`
- Currently ignores flags
- Added (some) Iris Support:
- `{iris_version}`, `{iris_shaderpack}`, `{iris_shaderpack_profile}`, `{iris_shaderpack_changes}`,
- Add optional width for sections ([#27](https://github.com/Minenash/CustomHUD/issues/27))
- Add ability for certain sections to hide when the chat is open ([#21](https://github.com/Minenash/CustomHUD/issues/21))
- Ability to select font
- Using the `==Font:<font>==` flag
- 1.18's new illageralt font was modified to allow non-alphanumeric characters to show (aka not be boxes) so that it's usable for the hud
- Same thing with the alt font (the one used in the enchanting table, the Standard Galactic Alphabet)
- Made an illageralt2 font that's the same as above, but also displays numbers normally
- Added ability for other mods to add their own variables
- Done by using the `CustomHudRegistry.register(name, element)` method
- Updated to 1.19
- Added a default profile with instructions on how to edit
- Fixed right padding (#18)
- Fixed scaling shifting bottom/right sections (#7)
- Fixed translation keys ([#17](https://github.com/Minenash/CustomHUD/issues/17), I swore I merged this before, but oh well)
- Added Portuguese (Portugal) translation ([#17](https://github.com/Minenash/CustomHUD/issues/17))
- Removed `{client_chunk_cache}`, `{client_chunk_cache_capacity}`, and `{server_chunk_cache}`
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }