Class ComponentBuilder
java.lang.Object
com.mclds.plugins.customplugin.utils.ComponentBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.kyori.adventure.text.Componentstatic net.kyori.adventure.text.Componentstatic net.kyori.adventure.text.Componentstatic List<net.kyori.adventure.text.Component> static net.kyori.adventure.text.Componentstatic net.kyori.adventure.text.Component生成统一颜色的文本,消除原有的斜体样式static net.kyori.adventure.text.TextComponent生成统一颜色的文本,消除原有的斜体样式static List<net.kyori.adventure.text.TextComponent> static List<net.kyori.adventure.text.TextComponent> static List<net.kyori.adventure.text.TextComponent> 生成统一颜色的文本,消除原有的斜体样式static net.kyori.adventure.text.format.StylerawStyle()static net.kyori.adventure.text.format.StylerawStyle(net.kyori.adventure.text.format.TextColor color)
-
Constructor Details
-
ComponentBuilder
public ComponentBuilder()
-
-
Method Details
-
of
-
list
-
ofRaw
生成统一颜色的文本,消除原有的斜体样式 -
ofRaw
public static net.kyori.adventure.text.TextComponent ofRaw(net.kyori.adventure.text.format.NamedTextColor color, Object... objects) 生成统一颜色的文本,消除原有的斜体样式 -
ofRaws
public static List<net.kyori.adventure.text.TextComponent> ofRaws(net.kyori.adventure.text.format.NamedTextColor color, Object... objects) 生成统一颜色的文本,消除原有的斜体样式 -
ofRaws
-
ofRawList
-
link
-
link
-
rawStyle
public static net.kyori.adventure.text.format.Style rawStyle(net.kyori.adventure.text.format.TextColor color) -
rawStyle
public static net.kyori.adventure.text.format.Style rawStyle() -
button
-