DuoScoreboard: Difference between revisions
Appearance
Created page with "In leaf v4.3+, DuoScoreboard is a feature that allows scoreboards to store numbers OVER 2,147,483,647 (or the Signed 32-bit Integer Limit) == How to create one == DuoScoreboards can be created by just creating an objective called "DUO_<original objective>" the original objective must also exist in the world, for example: * money * DUO_money == How to edit values == (coming soon) == Technical Information == DuoScoreboard is relatively simple in concept. For this exp..." |
No edit summary |
||
| Line 14: | Line 14: | ||
== Technical Information == | == Technical Information == | ||
DuoScoreboard is relatively simple in concept. For this explanation, 1 will be the lower half (original objective) and 2 will be the upper half (the duo scoreboard) | DuoScoreboard is relatively simple in concept. It works by 2 scoreboards storing different parts of a binary number in unison. For this explanation, 1 will be the lower half (original objective) and 2 will be the upper half (the duo scoreboard) | ||
Both scoreboards are treated as UNSIGNED 32-bit integers (to convert scoreboard values like this, add 4294967296 to the number ONLY if it is under zero) | Both scoreboards are treated as UNSIGNED 32-bit integers (to convert scoreboard values like this, add 4294967296 to the number ONLY if it is under zero) | ||