nova-parent
Toggle table of contents
0.21.2
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
nova-parent
nova
/
xyz.xenondevs.nova.util.component.adventure
/
appendCentered
append
Centered
fun
<
C
:
BuildableComponent
<
C
,
B
>
,
B
:
ComponentBuilder
<
C
,
B
>
>
ComponentBuilder
<
C
,
B
>
.
appendCentered
(
component
:
Component
,
lang
:
String
=
"en_us"
)
:
B
Moves the cursor by half the width of the
component
to the left, then appends the
component
.