数据驱动的僵尸?
从版本 0.0.15 开始,本模组添加了数据驱动的僵尸。 这意味着你可以使用数据包来添加僵尸的变种。
"在 Modrinth 下载模组"
Github 链接
数据驱动系统的工作原理
该模组添加了一个类似附魔的动态注册表(dynamic registry)。
目前,模组为变种添加了以下配置:
- lootTableInfo 包含用于生成盔甲和掉落物的字段
- events -> 7 个事件处理器(spawn、tick、death、kill 等)
- 当事件触发时,像附魔效果一样运行
- BiomePredicate -> 变种生成的生物群系
- Requirements -> 怪物生成的战利品条件
- attribute(基础值和修饰值)-> 生成时添加的属性
- weight(包含权重和质量)-> 类似于战利品表条目(使用难度系数)
我计划添加的其他字段:
- texture(需要客户端更改),由于这不在当前计划中,我将创建一个单独的模块以更便携的方式实现此功能。
- spawn weight(怪物对内部僵尸上限的贡献度)(可能性不大)
- 附加到怪物 AI 的内容
有哪些事件处理器?
- apply status effect to target(对目标施加状态效果)
- swap positions(交换位置)
- single target(单体目标)
- freeze(冻结)
- ignite(点燃)
- spawn effect cloud(生成效果云)
- spawn particle effect(生成粒子效果)
- apply status effect(施加状态效果)
安装
只需将主 jar 文件与 smartbrainlib 1.16.7+ 和 fabric api 0.118+ 一起安装即可。
关于末日呢?
该模组会在主世界玩家周围不断生成僵尸。 目前还赋予僵尸小幅跳跃能力。 有一个独立的难度系统,会考虑玩家的武器、盔甲、食物以及在世界中花费的时间。但它在区块内花费的时间会产生相反的效果。 这意味着如果你在某个区块花费了太多时间(简单模式下 8 小时,困难模式下 35 小时), 那个地方将不再具有末日氛围。(我将添加一个 gamerule 来控制这一点。)
我想在长期内实现的一些功能:
- 赋予僵尸各种能力:例如 Eldritch Mobs(不完全相同,但类似)
- 赋予僵尸各种智能:跳过缝隙(可能不会,实现起来很难)和怪物行为(围绕玩家聚集)(实现起来也很难,但有可能)
我现在想实现的一些功能:
- 不同地点的不同僵尸类型(水中为溺尸,熔岩下为僵尸猪灵,阳光下为疣猪兽)
- 利用各种创造模式工具(如 /ride /tp)给予僵尸优势
- 添加僵尸逃离刷怪笼的机制
- 防止小空间内僵尸聚集在一起
你不是做过类似的模组吗?
是的,我做过 Zombie Apocalypse,那是一段不错的经历。这个模组仍然提供源码,所以如果你编译代码就可以使用它。(欢迎在你的模组中使用这些源代码。)
那么旧模组出了什么问题?
嗯,维护起来很麻烦。这是我的错,我知道。最糟糕的是配置文件。我花了太多时间编写配置代码。此外,模组感觉不太符合它的名字。
感觉僵尸并不够好。所以这次我想要让僵尸密度低但伤害和能力高。并且不让自己局限于某些配置选项。
上次有点问题的地方之一是,所有内容都是配置项,这让我很难尝试那些难以用配置编写的有趣玩法。
所以这次没有配置文件?
没错,至少在很长一段时间内是这样。 但我将通过数据包控制一些简单的内容。
所以这是一个全僵尸模组?
也许是,也许不是。我对想法持开放态度。
你会添加客户端内容吗?
不。(可能会通过单独的客户端模组添加纹理……也许)
僵尸变种将使用 {namespace}/textures/entity/zombie/{id}.png 作为纹理。我不会添加任何其他客户端功能。
Data Driven zombies?
This mod adds data driven zombies since version 0.0.15. What this means is that the variants of a zombie can be added using datapacks.
"Download the mod on modrinth"
Github link
How the data driven system works
The mod adds a dynamic registry like for enchantments
Currently the mod adds the following configuration to variants
- lootTableInfo contains a field for spawn armor and loot drop
- events -> 7 event handlers (spawn,tick,death,kill etc.)
- Runs like an enchantment effect when event fires
- BiomePredicate -> what biomes the variant spawns in
- Requirements -> a loot condition for mob to spawn
- attribute (base and modifiers) to add on spawn
- weight (contains weight and quality) -> similiar to loot table entries (uses difficulty)
My plans for additional fields
- texture (would require client side changes) which isn't plan so I will make a seperate to allow for that to be done in more portable way.
- spawn weight (How much the mob counts towards internal zombie cap) (unlikely)
- attachments to mob ai
What event handlers are there?
- apply status effect to target
- swap positions
- single target
- freeze
- ignite
- spawn effect cloud
- spawn particle effect
- apply status effect
Installation
Just install the main jar alongside smartbrainlib 1.16.7+ and fabric api 0.118+
What about the apocalypse?
This mod continually spawns zombies around the players in overworld. Also currently gives small leaping ability to zombies. There is a seperate difficulty system that takes into account player weapons,armor,food. And time spent in the world. But has a inverse effect based on time spent in a chunk. Meaning that if you spent too much time in a chunk (8 hours on easy 35 hours on hard) that place will no longer be apocalyptic. (I will be adding a gamerule to control this.
Certain things I want to implement over long period:
- Give various abilities to zombies: Like Eldritch Mobs (not exactly the same but like)
- Give various intelligence to zombies: jump over gaps (Probably not, its hard to implement), and mob behaviour (grouping around the player) (also hard to implement but could be)
Certain things I want to implement right now:
- Different zombies for different places (drowned for water, zombie piglins for lava, husk for the sun)
- Make use of various creative mode tools (like /ride /tp) to give zombies a edge
- Add mechanics for zombies to escape mob farms
- Make zombies not group together in small spaces
Didn't you make a similiar mod ?
Yeah I did Zombie Apocalypse, It was a good experience. This mod is still available as source, so you can use it if you compile the code. (Feel free to use the source code in your own mods.)
So what went wrong with the old mod ?
Well It was a hassle to maintain. My mistake,I know. The worst thing was config. I had to spend way too much time to write the config code. Also the mod kinda felt not like what it name was.
It didn't feel like the zombies were very good. So this time I wanna make the zombie low in density and high in damage and abilities. And also not limit myself to some config options.
One of the thing that was kinda wrong the last time. Everything was a config and that made it hard for me to try doing funky that were hard to write config for.
So No config this time?
Yep, At least for a long time. But I will be making simple stuff controllable via datapacks.
So this is a all zombies mod.
Maybe, maybe not. I am open to ideas.
Will you add client side content?
No. (Maybe textures using a seperate client side mod... maybe)
Zombie variants will use {namespace}/textures/entity/zombie/{id}.png as texture.I won't be adding any other client side features.
下载 ZenXArch's Zombie Apocalypse
下载 ZenXArch's Zombie Apocalypse
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ZenXArch's Zombie Apocalypse
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ZenXArch's Zombie Apocalypse
下载 ZenXArch's Zombie Apocalypse
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ZenXArch's Zombie Apocalypse
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ZenXArch's Zombie Apocalypse
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ZenXArch's Zombie Apocalypse
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ZenXArch's Zombie Apocalypse
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ZenXArch's Zombie Apocalypse
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 提升 Minecraft 版本
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
让你能够在世界中的任何位置定位结构。
模组
为你的终界增添新生物群系、神秘仪式和全新生物
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
模组
更多生物群系,更多生物,更多工具,为炽热的维度
模组
一堆修复
评论 0
登录后参与评分
还没有评论,来抢沙发吧