Язык

Fish No Stuck

Fish No Stuck

Modrinth

A small mod that fixes fish stop moving entirely MC-182763

60.3k загрузок 77 подписчиков обновлено 2mo ago
последняя v0.0.2-fabric Modrinth
Fabric Forge Neoforge Quilt 1.16.5 – 26.1.2 Game-mechanicsUtility

FishNoStuck

A small mod that fixes fish stop moving entirely MC-182763

Support with Minecraft 1.17.x-1.20.x for Fabric (Quilt maybe?)/Forge

How it works

The fish has an AI Goal that scans for the nearest fish, which will randomly select a leader and followers. Then it will let the follower fish follow the leader.

This mod applies bug fix to FollowFlockLeaderGoal by checking the nearest fish if it is a leader or not.
If not, it will add into the follower list.

If leader gets added into the follower list.
A Fish Leader will stop and not go to anywhere along with their followers (Forever!).
Unless you hit them or switch gamemode to survival and swim near them.

For Minecraft Bug Report, see: https://bugs.mojang.com/browse/MC-182763

Another fix in this mod is:

  • Check entity predicate by using EntitySelector.NO_CREATIVE_OR_SPECTATOR instead of EntitySelector.NO_SPECTATORS in avoid entity goal.
  • Set checkNoActionTime to false in FishSwimGoal to fix fish getting stuck at the current position
  • Decreased schoolSize from leader fish if the follower fish is getting killed.

Performance Impact

This mod doesn't improve any game performance, or it has very minor impact, especially for fish.
See FishNoStuck#1

Installation

  • Install Fabric Loader/MinecraftForge
  • Copy mod into mods folder

Backstory

I was working on Fish of Thieves by looking at FollowFlockLeaderGoal and figure it out how it works, then convert it to use Brain system.

By display debug data above an entity.

Then I realize something wrong. A fish with schoolSize=8 has property isFollower=true and has a leader. Which it should not be possible.
So that's the beginning of this mod.

Версии

Release
0.0.2-fabric
fabric · 26.1.1, 26.1.2 · 2mo ago
* Added fix for MC-306840 - Dolphins still drown themselves when no players are nearby * Dolphin can still drown if no players nearby
492
Release
0.0.2-neoforge
neoforge · 26.1.1, 26.1.2 · 2mo ago
* Added fix for MC-306840 - Dolphins still drown themselves when no players are nearby * Dolphin can still drown if no players nearby
31
Release
1.0.7-fabric
fabric · 1.21.11 · 2mo ago
* Added fix for MC-306840 - Dolphins still drown themselves when no players are nearby
545
Release
1.0.7-neoforge
neoforge · 1.21.11 · 2mo ago
* Added fix for MC-306840 - Dolphins still drown themselves when no players are nearby
31
Release
1.0.6-fabric
fabric · 26.1.1 · 2mo ago
* Update to 26.1.1
32
Release
1.0.6-neoforge
neoforge · 26.1.1 · 2mo ago
* Update to 26.1.1
12
Release
1.0.6-fabric
fabric, quilt · 1.21.11 · 5mo ago
* Update to 1.21.11
1.6k
Release
1.0.6-neoforge
neoforge · 1.21.11 · 5mo ago
* Update to 1.21.11
97
Release
1.0.0-fabric
fabric · 1.16.5 · 7mo ago
* Initial release for 1.16.5
52
Release
1.0.0-forge
forge · 1.16.5 · 7mo ago
* Initial release for 1.16.5
52
Release
1.0.6-fabric
fabric, quilt · 1.21.10 · 7mo ago
* Reduced icon file size
793
Release
1.0.6-neoforge
neoforge · 1.21.10 · 7mo ago
* Reduced icon file size
95

Комментарии 0

Пока нет комментариев. Будь первым, кто поделится мнением.

Скачать Fish No Stuck

R 0.0.2-fabric 26.1.1, 26.1.2 fabric 56 KB R 0.0.2-neoforge 26.1.1, 26.1.2 neoforge 57 KB R 1.0.7-fabric 1.21.11 fabric 57 KB R 1.0.7-neoforge 1.21.11 neoforge 57 KB R 1.0.6-fabric 26.1.1 fabric 55 KB R 1.0.6-neoforge 26.1.1 neoforge 56 KB R 1.0.6-fabric 1.21.11 fabric, quilt 55 KB R 1.0.6-neoforge 1.21.11 neoforge 55 KB R 1.0.0-fabric 1.16.5 fabric 30 KB R 1.0.0-forge 1.16.5 forge 30 KB R 1.0.6-fabric 1.21.10 fabric, quilt 55 KB R 1.0.6-neoforge 1.21.10 neoforge 55 KB R 1.0.5-fabric 1.21.10 fabric, quilt 66 KB R 1.0.5-neoforge 1.21.10 neoforge 66 KB R 1.0.4-fabric 1.21.9 fabric, quilt 43 KB R 1.0.4-neoforge 1.21.9 neoforge 44 KB R 1.0.4-fabric 1.21.6, 1.21.7, 1.21.8 fabric, quilt 43 KB R 1.0.4-neoforge 1.21.6, 1.21.7, 1.21.8 neoforge 44 KB R 1.0.4-fabric 1.21.5 fabric, quilt 43 KB R 1.0.4-neoforge 1.21.5 neoforge 44 KB R 1.0.4-fabric 1.21.4 fabric, quilt 43 KB R 1.0.4-neoforge 1.21.4 neoforge 44 KB R 1.0.4-fabric 1.21.1, 1.21.3 fabric, quilt 43 KB R 1.0.4-neoforge 1.21.1, 1.21.3 neoforge 44 KB R 1.0.3-fabric 1.21 fabric, quilt 43 KB R 1.0.3-neoforge 1.21 neoforge 44 KB R 1.0.3-fabric 1.20.6 fabric, quilt 43 KB R 1.0.3-neoforge 1.20.6 neoforge 44 KB R 1.0.3-fabric 1.20.4 fabric, quilt 43 KB R 1.0.3-neoforge 1.20.4 neoforge 44 KB R 1.0.3-forge 1.20.4 forge 44 KB R 1.0.3-fabric 1.20.1 fabric, quilt 43 KB R 1.0.3-forge 1.20.1 forge 44 KB R 1.0.3-fabric 1.19.2 fabric, quilt 43 KB R 1.0.3-forge 1.19.2 forge 44 KB R 1.0.3-fabric 1.18.2 fabric, quilt 43 KB R 1.0.3-forge 1.18.2 forge 44 KB R 1.0.2-neoforge 1.20.4 neoforge 43 KB R 1.0.2-fabric 1.20.4 fabric, quilt 43 KB R 1.0.2-forge 1.20.4 forge 43 KB R 1.0.2-fabric 1.17.1, 1.18.2, 1.19.2 fabric, quilt 43 KB R 1.0.2-forge 1.17.1, 1.18.2, 1.19.2 forge 44 KB R 1.0.1-fabric 1.17.1, 1.18.2, 1.19.2 fabric, quilt 40 KB R 1.0.1-forge 1.17.1, 1.18.2, 1.19.2 forge 41 KB R 1.0.0-fabric 1.17.1, 1.18.2, 1.19.2 fabric, quilt 11 KB R 1.0.0-forge 1.17.1, 1.18.2, 1.19.2 forge, neoforge 12 KB

Файлы отдаются напрямую с первоисточника. Modgrid не хранит и не изменяет их.