BountifulAPI [1.8 - 1.14.2]
作者:ConnorLinfoot
发布时间:2014年10月8日
原生版本:未知
测试支持:1.8,1.9,1.10,1.11,1.12,1.13,1.14
BountifulAPI包括用于发送1.8标题、ActionBar甚至获取协议的API方法。
点此下载插件详细介绍
📦 BountifulAPI
BountifulAPI 提供了一系列 API 方法,用于在 Minecraft 1.8+ 版本中发送标题 (Title) 或动作栏消息 (ActionBar)。最新的构建版本应该兼容所有 1.8+ 版本。如果遇到问题,请及时反馈!
🔗 其他版本
如果最新的构建版本不适用,可以尝试以下版本:
🛠️ API 方法
发送标题
BountifulAPI.sendTitle(player, fadeIn, stay, fadeOut, "Title", "Subtitle");
player: 玩家对象。fadeIn: 标题淡入时间(单位:ticks)。stay: 标题显示时间(单位:ticks)。fadeOut: 标题淡出时间(单位:ticks)。"Title": 标题内容。"Subtitle": 副标题内容。
发送 Tab 标题
BountifulAPI.sendTabTitle(player, "Header", "Footer");
player: 玩家对象。"Header": Tab 列表头部内容。"Footer": Tab 列表底部内容。
发送动作栏消息
BountifulAPI.sendActionBar(player, "Action Bar Message", duration);
player: 玩家对象。"Action Bar Message": 动作栏消息内容。duration: 消息显示时间(单位:ticks)。
清除标题
BountifulAPI.clearTitle(player);
player: 玩家对象。
🐛 问题反馈
请在 GitHub 上提交 Bug、问题、建议:https://github.com/ConnorLinfoot/BountifulAPI/issues