Minenash / CustomHUD

A highly customizable variable-based text HUD for Minecraft
MIT License
79 stars 23 forks source link

Feature request: Compare values #20

Closed IkeVoodoo closed 2 years ago

IkeVoodoo commented 2 years ago

For example, say you'd have

Light: {light}

Currently that I know of, there is no way to compare values, but if there was you could do:

Can Mobs Spawn: {{light} <= 7, "Yes", "No"}

Example of comparisons:

== >= <= != > < === (Check for type and value)

For strings just ignore the bigger/smaller than signs

Minenash commented 2 years ago

Duplicate of #2, which I started working on again recently. I had done some work earlier on in the year, but I lost the work at some point