• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

QuestCreator/插件开发者的话

来自Minecraft插件百科
Qsefthuopq讨论 | 贡献2019年2月13日 (三) 15:58的版本 (创建页面,内容为“{{qcbox}} 插件没有公开的API, 你需要直接将插件.jar 导入到你的IDE内. 你也许也要导入PyrCore. ''如果你想要开发兼容 QuestCreator 的…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索

插件没有公开的API, 你需要直接将插件.jar 导入到你的IDE内. 你也许也要导入PyrCore.

如果你想要开发兼容 QuestCreator 的插件却没购买这款插件, 你可以在Discor联系插件作者来试下能否和插件作者达成一致.

JAVADOC链接

示例项目

如何获取用户数据 :

QCUser userData = QuestCreator.inst().getData().getUsers().getElement(playerUUID);

Change data profile (useful if you wish the player to play different characters for example) :

Core.instance().getData().getDataProfiles().set(playerUUID, "profileName");

Main useful class instance :

QuestCreator.inst()

Eveyrything is pretty implicit IMO, and what's useful is documented in the javadoc. If you really don't understand something, you can contact me on discord.