Scoreboard.click constructor
Scoreboard.click(
- String name, {
- TextComponent? display,
- bool addIntoLoad = true,
- bool removeOld = false,
The Scoreboard.click
constructor adds a carrot on a stick click event objective
Implementation
factory Scoreboard.click(
String name, {
TextComponent? display,
bool addIntoLoad = true,
bool removeOld = false,
}) =>
Scoreboard(
name,
type: 'minecraft.used:minecraft.carrot_on_a_stick',
display: display,
addIntoLoad: addIntoLoad,
);