自定义统计系统
此数据包专为那些需要自定义统计系统但不知如何实现的数据包开发者而设计。
功能
- 自定义伤害
- 自定义生物统计
- 自定义玩家统计
- 自定义护甲统计及全套加成
- 自定义武器统计
- 多人游戏兼容性(?)
致谢
本数据包使用了 Cloud Wolf 制作的一个数据包,该数据包基本允许我们检测攻击者是谁以及受害者是谁。虽然我们知道可以使用 /execute on attacker 命令,但该数据包是在此命令引入之前开发的。尽管如此,它仍然有效且非常强大。你可以在这里查看他的数据包。
使用方法
我在我的 YouTube 频道上制作了一个视频,解释了其工作原理以及如何添加具有自定义统计的武器、护甲和生物。
常见问题
Q:此数据包是否适用于旧版本?
A:可能可以。我个人没有测试过比 1.19 更旧的版本,但我认为它应该能向下兼容至 1.13。只需下载带有资源包的 1.19 版本,我认为它应该能正常工作。只需在数据包和资源包的 pack.mcmeta 中将 [pack_format](https://minecraft.fandom.com/wiki/Pack_format) 值更改为所需的值即可(请注意这可能无法正常工作)。
Q:它具有多人游戏兼容性吗?
A:是的,具有(理论上如此,我尚未测试,但应该可以)。
Q:我可以修改此数据包并重新分发吗?
A:是的,你可以,但请注明原始创作者是谁(me),并在项目的显著位置链接原始的 Modrinth 页面。
Q:你会制作更多数据包吗?
A:是的,我想我已经知道下一个项目会是什么了,但只有时间才能给出答案。
作者
已知问题
这并非真正的错误,但我必须说明一点:穿戴自定义护甲时请勿执行 /reload,这是因为在 load.mcfunction 中我们会重置玩家的统计信息,只需将其移除并放入单独的函数中即可。
错误报告/建议
如果你发现了任何错误或有任何建议,请通过 我的 Discord 服务器 联系我。
? 链接
许可证
MIT
Custom Stats System
This datapack is for all of the datapack developers who need a custom stats system but doesn't know how to do it.
Features
- Custom damage
- Custom mob stats
- Custom player stats
- Custom armor stats and full set bonuses
- Custom weapon stats
- Multiplayer compatibility (?)
Credits
This datapack uses a datapack from Cloud Wolf that basicly allows us to detect who the attacker is and who is the victim, I know that we have /execute on attacker but this datapack was developed before that command was introduced, nonetheless it still works and its very powerfull. You can check out his datapack here.
How to use
I made a video in my youtube channel explaining how it works and how to add custom weapons, armor and mobs with custom stats.
FAQ
Q: Does this datapack work on older versions?
A: Maybe, personally I haven't tested in older versions than 1.19 but I think it should work all the way down to 1.13. Just download the 1.19 version with the resourcepack and I think it should work, just change inside the pack.mcmeta of both the datapack and resourcepack the "pack_format" value to the desired one (take in mind that it may not work).
Q: Does it have multiplayer compatibility?
A: Yes it does (in theory, I didn't tested it but it should).
Q: Can I modify the datapack and redistribute it?
A: Yes you can, but only say who the original creator is (me) and if you link the original Modrinth page somewhere noticeable in the project.
Q: Are you going to make more datapacks?
A: Yes, I think I already know what my next project will be but only time will say.
Author
Known bugs
It is not an actual bug but its important that I say it: Don't do /reload when wearing a custom armor, this is due to the fact that in load.mcfunction we reset the stats of the player, just remove that and put it in a separate function.
Bug Report/Suggestions
If you have found any bugs or have any suggestion, please reach out to me at my discord server.
? Links
License
MIT
评论 0
登录后参与评分
还没有评论,来抢沙发吧