Uses of Class
top.magstar.framework.ComponentString
Packages that use ComponentString
-
Uses of ComponentString in top.magstar.framework
Methods in top.magstar.framework that return ComponentStringModifier and TypeMethodDescription@NotNull ComponentStringComponentString.center(int width) 使内容居中显示@NotNull ComponentString添加链接static @NotNull ComponentStringComponentString.progressBar(double progress, int length, char barChar, String... colors) 创建进度条@NotNull ComponentStringComponentString.rainbow()应用彩虹效果@NotNull ComponentStringSmartString.toComponentString()将SmartString转换为ComponentString,用于高级标签处理@NotNull ComponentStringComponentString.withChangePage(int page) 添加点击更改页面@NotNull ComponentStringComponentString.withClickCommand(@NotNull String command) 添加点击执行命令@NotNull ComponentStringComponentString.withCopyText(@NotNull String text) 添加点击复制文本@NotNull ComponentStringComponentString.withHoverItem(@NotNull String itemJson) 添加物品悬停提示@NotNull ComponentStringComponentString.withHoverText(@NotNull String text) 添加悬停文本@NotNull ComponentStringComponentString.withSuggestCommand(@NotNull String command) 添加点击建议命令