This commit is contained in:
2026-09-17 18:38:15 +08:00
parent e9224db163
commit 5f442f2b8e
17 changed files with 119 additions and 113 deletions
+9 -5
View File
@@ -1,9 +1,13 @@
# Example Mod
# 自然之需:可抱起后代
——三小时摸鱼作品
## Setup
[English readme here](./README_en.md)
For setup instructions, please see the [Fabric Documentation page](https://docs.fabricmc.net/develop/getting-started/creating-a-project#setting-up) related to the IDE that you are using.
在使用 carryon 抱起生物的时候,默认是不能抱起敌对生物的——很合理,毕竟直觉上它们会反抗。
## License
但是,自然之需有一个选项“敌对后代不攻击玩家”,这意味着它们大概不会反抗你抱起来了。
This template is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects.
因此,我们将此限制解除:如果是玩家产下的后代(无论谁生的,因为自然之需没有记录后代的母亲是哪个玩家),则无视敌对和体型限制,使其更符合直觉。
## todo
此 mod 没有读取自然之需的配置 `NeedsOfNature.getConfig().pregnancyFriendlyMobsIgnorePlayers()` 也没有新建一个配置,因为作为只有一个选项的 mod,关掉还不如直接卸了方便些。