|
鱼类不卡住 (Fish No Stuck)Github |相关wiki |源站链接支持: fabric , forge , neoforge , quilt这是一个小型模组,修复了鱼类停止移动的问题 MC-182763
鱼类不卡住是一个小型模组,修复了鱼类完全停止移动的问题。它支持Minecraft 1.17.x-1.20.x的Fabric(也许支持Quilt?)/Forge版本。
工作原理
鱼类有一个AI目标,会扫描最近的鱼类,然后随机选择一个领袖和跟随者。接着让跟随者鱼类跟随领袖。
这个模组通过检查最近的鱼类是否是领袖来应用错误修复到`FollowFlockLeaderGoal`。如果不是,它会被添加到跟随者列表中。
如果领袖被添加到跟随者列表中,那么领袖鱼类将停止移动,并且不会去任何地方,和它们的跟随者们(永远!)。除非你击中它们或切换游戏模式到生存模式并且游泳到它们附近。
有关Minecraft的错误报告,请参阅:
这个模组中的另一个修复是:
- 在避免实体目标中使用`EntitySelector.NO_CREATIVE_OR_SPECTATOR`而不是`EntitySelector.NO_SPECTATORS`来检查实体谓词。
- 在`FishSwimGoal`中将`checkNoActionTime`设置为`false`,以修复鱼类卡在当前位置的问题。
- 如果跟随者鱼类被杀死,减少了领袖鱼类的`schoolSize`。
性能影响
这个模组不会改善任何游戏性能,或者它对鱼类的影响非常小。
详情请见:https://github.com/SteveKunG/FishNoStuck/issues/1]FishNoStuck#1
安装
- 安装Fabric Loader/MinecraftForge
- 将模组复制到`mods`文件夹中
背景故事
我正在开发[Fish of Thieves](链接),通过查看`FollowFlockLeaderGoal`来解决问题,然后想出了如何使用`Brain`系统。
通过在实体上方显示调试数据。
https://cdn.modrinth.com/data/IjXg2Day/images/21c44584b9c6c60bd24107b39b515c5fcef714c9.png]
然后我意识到有些问题。一个`schoolSize=8`的鱼类具有属性`isFollower=true`并且有一个领袖。这是不可能的。
所以这就是这个模组的开端。
https://cdn.modrinth.com/data/IjXg2Day/images/1f3bca5e9f61c8f992243382579363530aea9e5b.png]
截图:
https://i.sodamc.com/modrinth/xLnuaG9luL.jpg?x-oss-process=style/forge2] https://i.sodamc.com/modrinth/v0RIZ8YxfR.jpg?x-oss-process=style/forge2]
来自Modrinth所有游戏版本1.21.61.21.71.21.81.21.51.21.41.21.11.21.31.211.20.61.20.41.20.11.19.21.18.21.17.11.19.31.19.41.20.2所有类型fabricquiltneoforgeforge[Fabric 1.21.6] Fish No Stuck v1.0.4fishnostuck-mc1.21.6-v1.0.4-fabric.jar下载1.0.4-fabric#Release* Update to 1.21.6展开版本: 1.0.4-fabric支持游戏: 1.21.6, 1.21.7, 1.21.8类型:FabricQuiltRelease下载次数: 277[NeoForge 1.21.6] Fish No Stuck v1.0.4fishnostuck-mc1.21.6-v1.0.4-neoforge.jar下载1.0.4-neoforge#Release* Update to 1.21.6展开版本: 1.0.4-neoforge支持游戏: 1.21.6, 1.21.7, 1.21.8类型:NeoForgeRelease下载次数: 36[Fabric 1.21.5] Fish No Stuck v1.0.4fishnostuck-mc1.21.5-v1.0.4-fabric.jar下载1.0.4-fabric#Release* Update to support for 1.21.5展开版本: 1.0.4-fabric支持游戏: 1.21.5类型:FabricQuiltRelease下载次数: 702[NeoForge 1.21.5] Fish No Stuck v1.0.4fishnostuck-mc1.21.5-v1.0.4-neoforge.jar下载1.0.4-neoforge#Release* Update to support for 1.21.5展开版本: 1.0.4-neoforge支持游戏: 1.21.5类型:NeoForgeRelease下载次数: 76[Fabric 1.21.4] Fish No Stuck v1.0.4fishnostuck-mc1.21.4-v1.0.4-fabric.jar下载1.0.4-fabric#Release* Update to support for 1.21.1+展开版本: 1.0.4-fabric支持游戏: 1.21.4类型:FabricQuiltRelease下载次数: 365[NeoForge 1.21.4] Fish No Stuck v1.0.4fishnostuck-mc1.21.4-v1.0.4-neoforge.jar下载1.0.4-neoforge#Release* Update to support for 1.21.1+展开版本: 1.0.4-neoforge支持游戏: 1.21.4类型:NeoForgeRelease下载次数: 46[Fabric 1.21.1] FishNoStuck v1.0.4fishnostuck-mc1.21.1-v1.0.4-fabric.jar下载1.0.4-fabric#Release* Update to support for 1.21.1+展开版本: 1.0.4-fabric支持游戏: 1.21.1, 1.21.3类型:FabricQuiltRelease下载次数: 1,257[NeoForge 1.21.1] FishNoStuck v1.0.4fishnostuck-mc1.21.1-v1.0.4-neoforge.jar下载1.0.4-neoforge#Release* Update to support for 1.21.1+展开版本: 1.0.4-neoforge支持游戏: 1.21.1, 1.21.3类型:NeoForgeRelease下载次数: 2,971[Fabric 1.21] FishNoStuck v1.0.3fishnostuck-mc1.21-v1.0.3-fabric.jar下载1.0.3-fabric#Release* Update to 1.21展开版本: 1.0.3-fabric支持游戏: 1.21类型:FabricQuiltRelease下载次数: 907[NeoForge 1.21] FishNoStuck v1.0.3fishnostuck-mc1.21-v1.0.3-neoforge.jar下载1.0.3-neoforge#Release* Update to 1.21展开版本: 1.0.3-neoforge支持游戏: 1.21类型:NeoForgeRelease下载次数: 182[Fabric 1.20.6] FishNoStuck v1.0.3fishnostuck-mc1.20.6-v1.0.3-fabric.jar下载1.0.3-fabric#Release* Update to 1.20.6展开版本: 1.0.3-fabric支持游戏: 1.20.6类型:FabricQuiltRelease下载次数: 111[NeoForge 1.20.6] FishNoStuck v1.0.3fishnostuck-mc1.20.6-v1.0.3-neoforge.jar下载1.0.3-neoforge#Release* Update to 1.20.6展开版本: 1.0.3-neoforge支持游戏: 1.20.6类型:NeoForgeRelease下载次数: 64[Fabric 1.20.4] FishNoStuck v1.0.3fishnostuck-mc1.20.4-v1.0.3-fabric.jar下载1.0.3-fabric#Release* Mod no longer supports multiple versions at the same time, this will cause a problem with mapping issues.展开版本: 1.0.3-fabric支持游戏: 1.20.4类型:FabricQuiltRelease下载次数: 195[NeoForge 1.20.4] FishNoStuck v1.0.3fishnostuck-mc1.20.4-v1.0.3-neoforge.jar下载1.0.3-neoforge#Release* Mod no longer supports multiple versions at the same time, this will cause a problem with mapping issues.展开版本: 1.0.3-neoforge支持游戏: 1.20.4类型:NeoForgeRelease下载次数: 85[Forge 1.20.4] FishNoStuck v1.0.3fishnostuck-mc1.20.4-v1.0.3-forge.jar下载1.0.3-forge#Release* Mod no longer supports multiple versions at the same time, this will cause a problem with mapping issues.展开版本: 1.0.3-forge支持游戏: 1.20.4类型:ForgeRelease下载次数: 71[Fabric 1.20.1] FishNoStuck v1.0.3fishnostuck-mc1.20.1-v1.0.3-fabric.jar下载1.0.3-fabric#Release* Mod no longer supports multiple versions at the same time, this will cause a problem with mapping issues.展开版本: 1.0.3-fabric支持游戏: 1.20.1类型:FabricQuiltRelease下载次数: 7,841[Forge 1.20.1] FishNoStuck v1.0.3fishnostuck-mc1.20.1-v1.0.3-forge.jar下载1.0.3-forge#Release* Mod no longer supports multiple versions at the same time, this will cause a problem with mapping issues.展开版本: 1.0.3-forge支持游戏: 1.20.1类型:ForgeRelease下载次数: 6,466[Fabric 1.19.2] FishNoStuck v1.0.3fishnostuck-mc1.19.2-v1.0.3-fabric.jar下载1.0.3-fabric#Release* Mod no longer supports multiple versions at the same time, this will cause a problem with mapping issues.展开版本: 1.0.3-fabric支持游戏: 1.19.2类型:FabricQuiltRelease下载次数: 1,157[Forge 1.19.2] FishNoStuck v1.0.3fishnostuck-mc1.19.2-v1.0.3-forge.jar下载1.0.3-forge#Release* Mod no longer supports multiple versions at the same time, this will cause a problem with mapping issues.展开版本: 1.0.3-forge支持游戏: 1.19.2类型:ForgeRelease下载次数: 824[Fabric 1.18.2] FishNoStuck v1.0.3fishnostuck-mc1.18.2-v1.0.3-fabric.jar下载1.0.3-fabric#Release* Mod no longer supports multiple versions at the same time, this will cause a problem with mapping issues.展开版本: 1.0.3-fabric支持游戏: 1.18.2类型:FabricQuiltRelease下载次数: 102[Forge 1.18.2] FishNoStuck v1.0.3fishnostuck-mc1.18.2-v1.0.3-forge.jar下载1.0.3-forge#Release* Mod no longer supports multiple versions at the same time, this will cause a problem with mapping issues.展开版本: 1.0.3-forge支持游戏: 1.18.2类型:ForgeRelease下载次数: 316[NeoForge 1.20.4] FishNoStuck v1.0.2fishnostuck-mc1.20.4-v1.0.2-neoforge.jar下载1.0.2-neoforge#Release* Bump to 1.0.2* Fix an edge case for the leader is null in some circumstances before removing a follower from the leader展开版本: 1.0.2-neoforge支持游戏: 1.20.4类型:NeoForgeRelease下载次数: 94[Fabric 1.20.4] FishNoStuck v1.0.2fishnostuck-mc1.20.4-v1.0.2-fabric.jar下载1.0.2-fabric#Release* Bump to 1.0.2* Fix an edge case for the leader is null in some circumstances before removing a follower from the leader展开版本: 1.0.2-fabric支持游戏: 1.20.4类型:FabricQuiltRelease下载次数: 171[Forge 1.20.4] FishNoStuck v1.0.2fishnostuck-mc1.20.4-v1.0.2-forge.jar下载1.0.2-forge#Release* Bump to 1.0.2* Fix an edge case for the leader is null in some circumstances before removing a follower from the leader展开版本: 1.0.2-forge支持游戏: 1.20.4类型:ForgeRelease下载次数: 72[Fabric 1.18.2-1.20.2] FishNoStuck v1.0.2fishnostuck-mc1.18.2-1.20.2-v1.0.2-fabric.jar下载1.0.2-fabric#Release* Bump to 1.0.2* Fix an edge case for the leader is null in some circumstances before removing a follower from the leader展开版本: 1.0.2-fabric支持游戏: 1.17.1, 1.18.2, 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.20.2类型:FabricQuiltRelease下载次数: 750[Forge 1.18.2-1.20.2] FishNoStuck v1.0.2fishnostuck-mc1.18.2-1.20.2-v1.0.2-forge.jar下载1.0.2-forge#Release* Bump to 1.0.2* Fix an edge case for the leader is null in some circumstances before removing a follower from the leader展开版本: 1.0.2-forge支持游戏: 1.17.1, 1.18.2, 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.20.2类型:ForgeRelease下载次数: 536[Fabric 1.17-1.20.2] FishNoStuck v1.0.1fishnostuck-mc1.17-1.20.2-v1.0.1-fabric.jar下载1.0.1-fabric#Release* Mark 1.20.2 compatible* Update mod icon* Add Performance section and Grammar fix for Read Me展开版本: 1.0.1-fabric支持游戏: 1.17.1, 1.18.2, 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.20.2类型:FabricQuiltRelease下载次数: 3,104[Forge 1.17-1.20.2] FishNoStuck v1.0.1fishnostuck-mc1.17-1.20.2-v1.0.1-forge.jar下载1.0.1-forge#Release* Mark 1.20.2 compatible* Update mod icon* Add Performance section and Grammar fix for Read Me展开版本: 1.0.1-forge支持游戏: 1.17.1, 1.18.2, 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.20.2类型:ForgeRelease下载次数: 1,982[Fabric 1.17-1.20] FishNoStuck v1.0.0fishnostuck-mc1.17-1.20-v1.0.0-fabric.jar下载1.0.0-fabric#Release# Change Log* First release!展开版本: 1.0.0-fabric支持游戏: 1.17.1, 1.18.2, 1.19.2, 1.19.3, 1.19.4, 1.20.1类型:FabricQuiltRelease下载次数: 162[Forge 1.17-1.20] FishNoStuck v1.0.0fishnostuck-mc1.17-1.20-v1.0.0-forge.jar下载1.0.0-forge#Release# Change Log* First release!展开版本: 1.0.0-forge支持游戏: 1.17.1, 1.18.2, 1.19.2, 1.19.3, 1.19.4, 1.20.1类型:ForgeNeoForgeRelease下载次数: 231全部版本
markdown_parsed
文章类型:收录
layui.use([\'form\'], function(){
var form = layui.form;
});
鱼类不卡住 |
楼主
2025-8-10 17:44:09
回复(0)
收起回复
|