ScoreboardScoreChangeEvent
Cancellable, adjustable intent emitted before an objective score changes.
Bedriox\Api\Event\Scoreboard\ScoreboardScoreChangeEvent
classBedriox\Api\Event\Scoreboard
Public methods
__construct(Bedriox\Api\Scoreboard\ScoreboardObjective $objective, Bedriox\Api\Player\Player|Bedriox\Api\Entity\Entity|string $holder, ?int $previousScore, ?int $score)Typed public method.
score(): ?intTyped public method.
setScore(?int $score): voidTyped public method.
