communityapi:ebf:comp_number_display
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
communityapi:ebf:comp_number_display [2021/11/03 19:33] – created minotorious | communityapi:ebf:comp_number_display [2021/11/08 15:57] – [initDisplay] minotorious | ||
---|---|---|---|
Line 168: | Line 168: | ||
'' | '' | ||
+ | |||
+ | 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 182: | ||
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