sideboard
inline fun sideboard(displayName: Component, name: String = displayName.string.filter { it.isLetter() }.take(16), numberFormat: NumberFormat = BlankFormat.INSTANCE, builder: SideboardBuilder.() -> Unit): Sideboard(source)
Opens a new sideboard builder and returns the final sideboard.
You can then open the sideboard to a ServerPlayerEntity using ServerPlayerEntity.showSideboard.
Return
the final instance of Sideboard
Parameters
displayName
the name of sideboard, which is displayed on the top
name
an optional internal name of the sideboard (only visible to the player via commands) - this defaults to the string of displayName
builder
the SideboardBuilder