toggle menu
nova-parent
0.17-alpha.34
jvm
switch theme
search in API
nova
/
xyz.xenondevs.nova.util.component.adventure
Package-level
declarations
Types
Functions
Types
Plain
Text
Component
Converter
Link copied to clipboard
object
PlainTextComponentConverter
Stylized
Char
Link copied to clipboard
data
class
StylizedChar
(
val
char
:
Char
,
val
style
:
Style
)
Functions
append
Link copied to clipboard
fun
<
C
:
BuildableComponent
<
C
,
B
>
,
B
:
ComponentBuilder
<
C
,
B
>
>
ComponentBuilder
<
C
,
B
>
.
append
(
fontChar
:
FontChar
)
:
B
chars
Link copied to clipboard
fun
Component
.
chars
(
lang
:
String
=
"en_us"
)
:
Sequence
<
StylizedChar
>
chars
Iterator
Link copied to clipboard
fun
Component
.
charsIterator
(
lang
:
String
=
"en_us"
)
:
Iterator
<
StylizedChar
>
color
Link copied to clipboard
fun
<
C
:
BuildableComponent
<
C
,
B
>
,
B
:
ComponentBuilder
<
C
,
B
>
>
ComponentBuilder
<
C
,
B
>
.
color
(
color
:
Color
)
:
B
font
Link copied to clipboard
fun
Component
.
font
(
font
:
String
)
:
Component
fun
<
C
:
BuildableComponent
<
C
,
B
>
,
B
:
ComponentBuilder
<
C
,
B
>
>
ComponentBuilder
<
C
,
B
>
.
font
(
font
:
String
)
:
B
font
Name
Link copied to clipboard
fun
Component
.
fontName
(
)
:
String
?
move
Link copied to clipboard
fun
<
C
:
BuildableComponent
<
C
,
B
>
,
B
:
ComponentBuilder
<
C
,
B
>
>
ComponentBuilder
<
C
,
B
>
.
move
(
distance
:
Number
)
:
B
move
To
Link copied to clipboard
fun
<
C
:
BuildableComponent
<
C
,
B
>
,
B
:
ComponentBuilder
<
C
,
B
>
>
ComponentBuilder
<
C
,
B
>
.
moveTo
(
afterStart
:
Number
,
lang
:
String
=
"en_us"
)
:
B
move
To
Center
Link copied to clipboard
fun
<
C
:
BuildableComponent
<
C
,
B
>
,
B
:
ComponentBuilder
<
C
,
B
>
>
ComponentBuilder
<
C
,
B
>
.
moveToCenter
(
lang
:
String
=
"en_us"
)
:
B
move
To
Start
Link copied to clipboard
fun
<
C
:
BuildableComponent
<
C
,
B
>
,
B
:
ComponentBuilder
<
C
,
B
>
>
ComponentBuilder
<
C
,
B
>
.
moveToStart
(
lang
:
String
=
"en_us"
)
:
B
to
Adventure
Component
Link copied to clipboard
fun
Array
<
out
BaseComponent
>
.
toAdventureComponent
(
)
:
Component
fun
String
.
toAdventureComponent
(
)
:
Component
fun
Component
.
toAdventureComponent
(
)
:
Component
to
Adventure
Component
Or
Link copied to clipboard
fun
String
.
toAdventureComponentOr
(
createComponent
:
(
)
->
Component
)
:
Component
to
Adventure
Component
Or
Empty
Link copied to clipboard
fun
String
.
toAdventureComponentOrEmpty
(
)
:
Component
to
Adventure
Component
Or
Null
Link copied to clipboard
fun
String
.
toAdventureComponentOrNull
(
)
:
Component
?
to
Json
Link copied to clipboard
fun
Component
.
toJson
(
)
:
String
fun
Component
.
toJson
(
)
:
String
to
NBT
Link copied to clipboard
fun
Component
.
toNBT
(
)
:
StringTag
to
NMSComponent
Link copied to clipboard
fun
Component
.
toNMSComponent
(
)
:
Component
to
Plain
Text
Link copied to clipboard
fun
Component
.
toPlainText
(
locale
:
String
=
"en_us"
)
:
String
fun
Component
.
toPlainText
(
player
:
Player
)
:
String
without
Pre
Formatting
Link copied to clipboard
fun
Component
.
withoutPreFormatting
(
)
:
Component
fun
Component
.
withoutPreFormatting
(
)
:
Component