Class ColorText
java.lang.Object
com.mclds.plugins.customplugin.utils.ColorText
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.kyori.adventure.text.TextComponentaquaComponent(Object... texts) static net.kyori.adventure.text.TextComponentblueComponent(Object... texts) bold()加粗net.kyori.adventure.text.TextComponentbuild()static net.kyori.adventure.text.TextComponentdarkAquaComponent(Object... texts) static net.kyori.adventure.text.TextComponentdarkBlueComponent(Object... texts) static net.kyori.adventure.text.TextComponentdarkGoldComponent(Object... texts) static net.kyori.adventure.text.TextComponentdarkGrayComponent(Object... texts) static net.kyori.adventure.text.TextComponentdarkGreenComponent(Object... texts) darkPurple(Object... texts) static net.kyori.adventure.text.TextComponentdarkPurpleComponent(Object... texts) static net.kyori.adventure.text.TextComponentdarkRedComponent(Object... texts) static net.kyori.adventure.text.TextComponentgoldComponent(Object... texts) static net.kyori.adventure.text.TextComponentgrayComponent(Object... texts) static net.kyori.adventure.text.TextComponentgreenComponent(Object... texts) lightPurple(Object... texts) static net.kyori.adventure.text.TextComponentlightPurpleComponent(Object... texts) magic()随机字符static ColorTextof()static net.kyori.adventure.text.TextComponentredComponent(Object... texts) reset()重置样式以及颜色删除线static Stringstatic net.kyori.adventure.text.ComponenttranslateToComponent(String text) 下划线static net.kyori.adventure.text.TextComponentwhiteComponent(Object... texts) static net.kyori.adventure.text.TextComponentyellowComponent(Object... texts)
-
Constructor Details
-
ColorText
public ColorText()
-
-
Method Details
-
of
-
blue
-
aqua
-
darkAqua
-
darkBlue
-
darkGray
-
darkGreen
-
darkPurple
-
darkRed
-
gold
-
gray
-
lightPurple
-
darkGold
-
green
-
yellow
-
red
-
blueComponent
-
aquaComponent
-
darkAquaComponent
-
darkBlueComponent
-
darkGrayComponent
-
darkGreenComponent
-
darkPurpleComponent
-
darkRedComponent
-
goldComponent
-
grayComponent
-
lightPurpleComponent
-
darkGoldComponent
-
greenComponent
-
yellowComponent
-
redComponent
-
whiteComponent
-
white
-
reset
重置样式以及颜色 -
strikethrough
删除线 -
Underline
下划线 -
magic
随机字符 -
bold
加粗 -
build
public net.kyori.adventure.text.TextComponent build() -
translateToComponent
-
translate
-