parse

inline fun MiniMessage.parse(input: String, italic: Boolean = false, builder: Component.() -> Unit = {}): Component

Parses a string into a component.

Return

the output component

Since

0.3.0

Parameters

input

The input string

italic

If italic should be removed automatically

builder

Block to apply to the component


fun String.parse(): Component
fun Array<String>.parse(): Array<Component>
fun Collection<String>.parse(): List<Component>