Scoreboard.setdisplay constructor

Scoreboard.setdisplay(
  1. String name, {
  2. String display = 'sidebar',
})

With Scoreboard.setdisplay you can display the values:

Scoreboard.setdisplay
String name of the objective(required)
display String for display location (default = sidebar)

Implementation

Scoreboard.setdisplay(this.name, {String display = 'sidebar'})
    : subcommand = 'setdisplay',
      type = display {
  prefixName();
}