All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Fish No Stuck

Fish No Stuck

by SteveKunG • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric
1mo ago 1
26.3
Neoforge
1mo ago 1
26.3
Neoforge
1mo ago 1
26.3
Fabric
1mo ago 1
26.2
Neoforge
4mo ago 1
26.2
Fabric
4mo ago 1
26.1.x
Fabric
7mo ago 1
26.1.x
Neoforge
7mo ago 1
1.21.11
Fabric
7mo ago 1
1.21.11
Neoforge
7mo ago 1
26.1.1
Fabric
7mo ago 1
26.1.1
Neoforge
7mo ago 1
1.21.11
Fabric Quilt
10mo ago 1
1.21.11
Neoforge
10mo ago 1
1.16.5
Fabric
last yr. 1
1.16.5
Forge
last yr. 1
1.21.10
Fabric Quilt
last yr. 1
1.21.10
Neoforge
last yr. 1
1.21.10
Fabric Quilt
last yr. 1
1.21.10
Neoforge
last yr. 1
1.21.9
Fabric Quilt
last yr. 1
1.21.9
Neoforge
last yr. 1
1.21.x
Fabric Quilt
last yr. 1
1.21.x
Neoforge
last yr. 1
1.21.5
Fabric Quilt
last yr. 1
1.21.5
Neoforge
last yr. 1
1.21.4
Fabric Quilt
last yr. 1
1.21.4
Neoforge
last yr. 1
1.21.x
Fabric Quilt
last yr. 1
1.21.x
Neoforge
last yr. 1
1.21
Fabric Quilt
last yr. 1
1.21
Neoforge
last yr. 1
1.20.6
Fabric Quilt
last yr. 1
1.20.6
Neoforge
last yr. 1
1.20.4
Fabric Quilt
last yr. 1
1.20.4
Neoforge
last yr. 1
1.20.4
Forge
last yr. 1
1.20.1
Fabric Quilt
last yr. 1
1.20.1
Forge
last yr. 1
1.19.2
Fabric Quilt
last yr. 1
1.19.2
Forge
last yr. 1
1.18.2
Fabric Quilt
last yr. 1
1.18.2
Forge
last yr. 1
1.20.4
Neoforge
last yr. 1
1.20.4
Fabric Quilt
last yr. 1
1.20.4
Forge
last yr. 1
1.20.x 1.19.x 1.18.2 +1
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2 +1
Forge
last yr. 1
1.20.x 1.19.x 1.18.2 +1
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2 +1
Forge
last yr. 1
1.20.1 1.19.x 1.18.2 +1
Fabric Quilt
last yr. 1
1.20.1 1.19.x 1.18.2 +1
Forge Neoforge
last yr. 1
  • Bump recommended NeoForge version to 26.3.0.12-beta
  • Bump recommended NeoForge version to 26.3.0.12-beta
  • Initial release for 26.3
  • Initial release for 26.3
  • Update to 26.2
  • Added fix for MC-306840 - Dolphins still drown themselves when no players are nearby
  • Dolphin can still drown if no players nearby
  • Added fix for MC-306840 - Dolphins still drown themselves when no players are nearby
  • Dolphin can still drown if no players nearby
  • Added fix for MC-306840 - Dolphins still drown themselves when no players are nearby
  • Added fix for MC-306840 - Dolphins still drown themselves when no players are nearby
  • Update to 26.1.1
  • Update to 26.1.1
  • Update to 1.21.11
  • Update to 1.21.11
  • Initial release for 1.16.5
  • Initial release for 1.16.5
  • Reduced icon file size
  • Reduced icon file size
  • Update to 1.21.10
  • Update to 1.21.10
  • Update to 1.21.6
  • Update to 1.21.6
  • Update to 1.21.6
  • Update to 1.21.6
  • Update to support for 1.21.5
  • Update to support for 1.21.5
  • Update to support for 1.21.1+
  • Update to support for 1.21.1+
  • Update to support for 1.21.1+
  • Update to support for 1.21.1+
Fish No Stuck Icon
Download Fish No Stuck
Select game version
Select platform