类 TitleAPI.TextFormatType
- java.lang.Object
-
- cn.mcres.gyhhy.MXLib.bukkit.TitleAPI.TextFormatType
-
- 所有已实现的接口:
PacketFormatter
- 封闭接口:
- TitleAPI
@Deprecated public abstract static class TitleAPI.TextFormatType extends Object implements PacketFormatter
已过时。Set the format type in title api
add in version 0.19PacketFormatter
-
-
字段概要
字段 修饰符和类型 字段 说明 static TitleAPI.TextFormatType
DEFAULT
已过时。> "Text"
return "{\"text\":\"" + input + "\"}"
< "{\"text\":\"A\"}"static TitleAPI.TextFormatType
GSON
已过时。> "Text"
< "{\"text\":\"Text\"}"static TitleAPI.TextFormatType
PAINT
已过时。> "{\"text\":\"A\"}"
< "{\"text\":\"A\"}"-
从接口继承的字段 cn.mcres.karlatemp.mxlib.bukkit.PacketFormatter
LOSSLESS, RAW
-
-
构造器概要
构造器 构造器 说明 TextFormatType()
已过时。
-
-
-
字段详细资料
-
PAINT
public static TitleAPI.TextFormatType PAINT
已过时。> "{\"text\":\"A\"}"
< "{\"text\":\"A\"}"
-
GSON
public static TitleAPI.TextFormatType GSON
已过时。> "Text"
< "{\"text\":\"Text\"}"
-
DEFAULT
public static TitleAPI.TextFormatType DEFAULT
已过时。> "Text"
return "{\"text\":\"" + input + "\"}"
< "{\"text\":\"A\"}"
-
-
方法详细资料
-
custom
public static TitleAPI.TextFormatType custom(Function<String,String> func)
已过时。
-
format
public abstract String format(String s)
已过时。- 指定者:
format
在接口中PacketFormatter
-
-