communityapi:ebf:comp_number_display
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
communityapi:ebf:comp_number_display [2021/11/03 19:36] – minotorious | communityapi:ebf:comp_number_display [2021/11/08 15:57] – [initDisplay] minotorious | ||
---|---|---|---|
Line 169: | Line 169: | ||
'' | '' | ||
- | Initialises the number display. | + | Initialises the number display.\\ |
+ | 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 178: | Line 180: | ||
| //'' | | //'' | ||
- | 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.txt · Last modified: 2021/11/08 15:57 by minotorious