communityapi:ebf:comp_number_display
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
communityapi:ebf:comp_number_display [2021/11/03 19:39] – minotorious | communityapi:ebf:comp_number_display [2021/11/08 15:57] (current) – [initDisplay] minotorious | ||
---|---|---|---|
Line 171: | Line 171: | ||
Initialises the number display.\\ | Initialises the number display.\\ | ||
In case you did not use the [[communityapi/ | In case you did not use the [[communityapi/ | ||
+ | |||
+ | **An Example of how this is done can be found in the Ruler mod, in case of problems contact me on discord!** | ||
==== setValue ==== | ==== setValue ==== | ||
Line 181: | Line 183: | ||
Sets the value on the display. The value: | Sets the value on the display. The value: | ||
- Must have as many or fewer digits as the number of nodes set in '' | - Must have as many or fewer digits as the number of nodes set in '' | ||
- | - Must be input as an integer value, i.e. to display 123.45 you need to use '': | + | - Must be input as an integer value, i.e. to display 123.45 you need to use '': |
- Can be positive or negative but the sign will only be displayed if you have included a node for it. | - Can be positive or negative but the sign will only be displayed if you have included a node for it. | ||
communityapi/ebf/comp_number_display.1635982742.txt.gz · Last modified: 2021/11/03 19:39 by minotorious