Types: Scoreboard - GrantShotwell/MCSharp GitHub Wiki
Scoreboard
Represents the Minecraft scoreboard.
Defined Methods
Method Overflow | Return Value | Description |
---|---|---|
GetScore([selector](/GrantShotwell/MCSharp/wiki/Types:-selector) selection, [objective](/GrantShotwell/MCSharp/wiki/Types:-objective) from) | [int](/GrantShotwell/MCSharp/wiki/Types:-int) | Copies the selected score. |
SetScore([selector](/GrantShotwell/MCSharp/wiki/Types:-selector) targets, [objective](/GrantShotwell/MCSharp/wiki/Types:-objective) storage, [int](/GrantShotwell/MCSharp/wiki/Types:-int) from) | void | Sets the selected score to the given value. |
SetScore([selector](/GrantShotwell/MCSharp/wiki/Types:-selector) targets, [objective](/GrantShotwell/MCSharp/wiki/Types:-objective) storage, [selector](/GrantShotwell/MCSharp/wiki/Types:-selector) selection, [objective](/GrantShotwell/MCSharp/wiki/Types:-objective) from) | void | Copies one score to another. |
SetDisplay([string](/GrantShotwell/MCSharp/wiki/Types:-string) display) | void | Sets the scoreboard display to nothing. |
SetDisplay([string](/GrantShotwell/MCSharp/wiki/Types:-string) display, [objective](/GrantShotwell/MCSharp/wiki/Types:-objective) target) | void | Sets the scoreboard display to the given objective. |