private ItemStack createAutoJoinButton(MatchPlayer viewer) {
ItemStack autojoin = new ItemStack(Button.AUTO_JOIN.material);
ItemMeta autojoinMeta = autojoin.getItemMeta();
autojoinMeta.addItemFlags(ItemFlag.values());
autojoinMeta.setDisplayName(ChatColor.GRAY.toString() + ChatColor.BOLD + PGMTranslations.t("teamSelection.picker.autoJoin.displayName", viewer));
autojoinMeta.setLore(Lists.newArrayList(this.getTeamSizeDescription(viewer.getMatch().getParticipatingPlayers().size(),
viewer.getMatch().getMaxPlayers()),
ChatColor.AQUA + PGMTranslations.t("teamSelection.picker.autoJoin.tooltip", viewer)));
autojoin.setItemMeta(autojoinMeta);
return autojoin;
}
PickerMatchModule.java 文件源码
java
阅读 24
收藏 0
点赞 0
评论 0
项目:ProjectAres
作者:
评论列表
文章目录