Scoreboard.trigger constructor
Scoreboard.trigger(
- String name, {
- TextComponent? display,
- bool addIntoLoad = true,
- bool removeOld = false,
The Scoreboard.trigger
constructor adds a trigger objective
Implementation
factory Scoreboard.trigger(
String name, {
TextComponent? display,
bool addIntoLoad = true,
bool removeOld = false,
}) =>
Scoreboard(
name,
type: 'trigger',
display: display,
addIntoLoad: addIntoLoad,
);