ScoreboardUpdate

An Enum of all possible update events, that can be used to trigger a scoreboard update.

Author

MarkusTieger

Since

0.2.0

Parameters

value

The bit value of the entry.

See also

Entries

Link copied to clipboard

Updates the scoreboard when a player toggles sneaking.

Link copied to clipboard

Updates the scoreboard when the current balance updates.

Link copied to clipboard

Updates the scoreboard when a player moves.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun isEventSet(data: Int): Boolean

Checks if the current update event is applied to the data.

Link copied to clipboard
operator fun plus(other: ScoreboardUpdate): Int

Adds another update event to the current one.

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.