类的使用
net.md_5.bungee.api.chat.ComponentStyle
使用ComponentStyle的程序包
-
net.md_5.bungee.api.chat中ComponentStyle的使用
修饰符和类型方法说明ComponentStyleBuilder.build()Build theComponentStyleusing the values set in this builder.ComponentStyle.clone()参数类型为ComponentStyle的net.md_5.bungee.api.chat中的方法修饰符和类型方法说明voidBaseComponent.applyStyle(ComponentStyle style) Apply the style from the givenComponentStyleto this component.static ComponentStyleBuilderComponentStyle.builder(ComponentStyle other) Get a newComponentStyleBuilderwith values initialized to the style values of the suppliedComponentStyle.voidBaseComponent.setStyle(ComponentStyle style) Set theComponentStylefor this component.ComponentBuilder.style(ComponentStyle style) Applies the providedComponentStyleto the current part.