style

fun PaperLiteralNode.style(name: String, block: PaperArgumentNode<Style>.() -> Unit)

Adds a Style argument to this command, which can be applied using Component.style.

Documentation: Style Argument

See also


fun PaperContext.style(name: String): Style

Retrieves the value of a Style argument from the command context.

Documentation: Style Argument

See also