ScoreboardImporter

Functions

Link copied to clipboard
suspend fun fromItemStack(stack: ItemStack, slot: Int): Scoreboard.LineType?
Link copied to clipboard
open suspend override fun getLines(): List<Scoreboard.LineType>

Returns the currently configured scoreboard lines in their display order.

Link copied to clipboard
Link copied to clipboard
suspend fun openScoreboardMenu()
Link copied to clipboard
open suspend override fun setLines(newLines: List<Scoreboard.LineType>): Scoreboard

Replaces the scoreboard lines with the provided list. Be careful, as certain built-in line types take up multiple actual scoreboard lines.