类的使用
net.md_5.bungee.api.chat.ComponentStyle
使用ComponentStyle的程序包
-
net.md_5.bungee.api.chat中ComponentStyle的使用
修饰符和类型方法说明ComponentStyleBuilder.build()
Build theComponentStyle
using the values set in this builder.ComponentStyle.clone()
参数类型为ComponentStyle的net.md_5.bungee.api.chat中的方法修饰符和类型方法说明void
BaseComponent.applyStyle
(ComponentStyle style) Apply the style from the givenComponentStyle
to this component.static ComponentStyleBuilder
ComponentStyle.builder
(ComponentStyle other) Get a newComponentStyleBuilder
with values initialized to the style values of the suppliedComponentStyle
.void
BaseComponent.setStyle
(ComponentStyle style) Set theComponentStyle
for this component.ComponentBuilder.style
(ComponentStyle style) Applies the providedComponentStyle
to the current part.