TitleManager (标题管理器-发送标题功能)
TitleManager是一个简单的插件库,用于向Minecraft 1.8及以上版本的玩家发送标题。作者享受免费制作所有插件的乐趣,但需要您的帮助来保持插件的免费发布。
依赖插件:
PacketListenerAPI, PlayerVersion
功能:
- 发送标题
- 发送副标题
- 发送标题时序
- 通过检查客户端版本防止客户端崩溃
示例用法:
@EventHandler
public void onJoin(PlayerJoinEvent e) {
TitleAPI.sendTimings(e.getPlayer(), 20, 40, 20);
TextComponent subTitle = new TextComponent("And I am a Subtitle");
subTitle.setColor(ChatColor.BLUE);
TitleAPI.sendSubTitle(e.getPlayer(), subTitle);
TextComponent title = new TextComponent("I am a Title!");
title.setColor(ChatColor.BLUE);
TitleAPI.sendTitle(e.getPlayer(), title);
}
Maven代码 (XML):
inventive-repo
https:\/\/repo.inventivetalent.org\/content\/groups\/public\/org.inventivetalent
org.inventivetalent
titleapi
2.1.1
APIManager:
这个API兼容APIManager。请点击这里获取更多有关如何实现它的信息。
资源大事记 (未知语言):
SlZOd2EkUm9kI1J3YW1GeUooVWtXa2QzZFdGPk4rSmFWelV3WVZoYWJHUiNSbk5hVnpVdytHMDVlVnAzUCswa0okUk1NMEp6WkZka2NHSnBPRDBrSiRSalIzZypXakpzZFZ7V1Vue2tSM2hzVVZaKCRrcHVXbSpqYms1d1lYaiEwTlFwWVdtKmphazV3WWohMEI=
如果您喜欢这个资源,请留下评分。同时,您的Bilibili支持也将不胜感激。
.containeri,.first,.second{position:absolute;}.containeri{margin:auto;top:91px;bottom:0;right:0;left:677px;width:170px;height:50px;transition:all 0.3s ease;transform:scale(0.8);}.wrapi{width:100%;height:50px;border:2px solid #FFF;transition:all 0.3s ease;border-radius:5px;}.first,.second{width:100%;height:50px;font-family:"Open Sans",sans-serif;transition:all 0.2s ease-in-out;font-size:17px;text-transform:uppercase;color:#FFF;letter-spacing:2px;text-align:center;vertical-align:middle;line-height:50px;}.second{opacity:0;}.first,.second{cursor:default;}.containeri:hover{width:250px;}.containeri:hover .wrapi{padding-bottom:17px;}.containeri:hover .first{transform:translateY(-8px);padding-top:5px;}.containeri:hover .second{transform:translateY(20px);opacity:1;}
收录



