此模组面向整合包制作者,不建议仅因个人需求而安装,因为它需要配置。
你可以通过编辑 JSON 文件来配置和添加自定义成就与奖杯。
如果将此模组加入你的整合包并首次启动,它会在你的 config 文件夹中添加一个示例 JSON 文件,你需要对其进行编辑。
示例文件应自明,但如果不清楚,以下是各属性的概述:
- tabname - 成就菜单中显示该成就的标签页名称
- uid - 成就的唯一标识符,名称本身无关紧要(仅为内部使用),只需确保其唯一即可
- name - 成就的名称
- desc - 鼠标悬停在成就名称上时显示的描述
- type - 可取以下值之一:
- "Detect" - 拾取物品时触发
- "Craft" - 合成物品时触发
- "Interact" - 右键点击方块时触发(仅限 1.11)
- "Use" - 右键点击物品时触发(仅限 1.11)
- "Place" - 放置该方块时触发(仅限 1.11)
- "Mine" - 破坏该方块时触发(仅限 1.11)
- "Stat" - 当统计数据达到指定值时触发(仅限 1.11)
- 需要 "stat" - 统计数据的名称
- 需要 "statValue" - 统计数据的目标值
- "Kill" - 玩家击杀生物时触发(仅限 1.11)
- 需要 "mob" - 生物的名称
- item - 触发成就所需合成或拾取的物品的内部名称
- meta - (可选)上述物品的元数据(Metadata)
- ignoreMeta - 若设为 true 则忽略元数据,否则为 false
- parent - (可选)父成就的 uid,必须先完成该父成就才能触发此成就
- trophy - 若设为 true,则在触发成就时为玩家颁发奖杯,否则为 false
- xpos - 成就在成就菜单中的水平位置
- ypos - 成就在成就菜单中的垂直位置
本模组仍在开发中,后续还计划加入多项功能,包括:
- 将 1.11 的功能移植到更早的版本
- 更精美的奖杯模型(如果你有创意或能制作漂亮的贴图,欢迎联系我)
我为自己的整合包 Age of Engineering 编写了此模组,但当然你也可以将其用于你自己的整合包,无需事先征求我的同意。
This mod is for modpack makers and not intended just to be installed because it needs configuration.
You can configure and add custom achievements and trophies through editing a json file.
If you add this to your modpack and start it once, this mod adds an example json file in your config folder which you should edit.
The example file should be self explanatory, but if not here is an overview over the attributes:
- tabname - This is the tab name of your achievements in the Achievements Menu
- uid - Unique identifier for your achievements, the name doesn't matter, it's only internal, just make sure it's unique
- name - Name of the achievement
- desc - Description of the achievement when you hover over its name
- type - Can have one of those values
- "Detect" - Triggers when you pick up an item
- "Craft" - Triggers when you craft an item
- "Interact" - Triggers when you right click a block (1.11 only)
- "Use" - Triggers when you right click an item (1.11 only)
- "Place" - Triggers when placing this block (1.11 only)
- "Mine" - Triggers when breaking this block (1.11 only)
- "Stat" - Triggers when a statistic value is reached (1.11 only)
- needs "stat" - name of the statistic
- needs "statValue" - value of the statistic
- "Kill" - Triggers when a mob is killed by the player (1.11 only)
- needs "mob" - name of the mob
- item - Internal name of the item that you have to craft or pick up to trigger the achievement
- meta - (optional) Metadata of the before mentioned item
- ignoreMeta - Set to true if metadata should be ignored, otherwise false
- parent - (optional) uid of the parent achievement that has to be completed to be able to trigger this achievement
- trophy - Set to true if the player should get a trophy when triggering the achievement, otherwise false
- xpos - Horizontal position of the achievement in the Achievement Menu
- ypos - Vertical position of the achievement in the Achievement Menu
This mod is work in progress, several things are still planned, including
- backporting 1.11 features
- better trophy model (contact me if you have an idea or can create nice textures)
I coded this mod for my modpack Age of Engineering, but you can use this of course for your own modpack, no need to ask me.
下载 Custom Achievements
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Custom Achievements
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Custom Achievements
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Custom Achievements
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Custom Achievements
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Custom Achievements
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 更改了奖杯模型
- 现在根据事件发放奖杯,支持通过命令或 BetterAchievements 模组发放奖杯
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧