promotional bannermobile promotional banner

Fish No Stuck

A small mod that fixes fish stop moving entirely (MC-182763)
SteveKunG | Fish No Stuck
Create your game server with affiliate logo
Create Server
affiliate banner image

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.

The Fish No Stuck Team

profile avatar
  • 107
    Followers
  • 12
    Projects
  • 14.8M
    Downloads
Donate

More from SteveKunGView all

  • Fish of Thieves project image

    Fish of Thieves

    • 5.3M
    • Mods

    A mod adds all of the fish from Sea of Thieves, fish fer ye pirate!

    • 5.3M
    • April 17, 2026
    • Mods
    • +2
  • Modern Mob Spawn project image

    Modern Mob Spawn

    • 65
    • Mods

    A tiny mod that brings modern mob spawn condition into 1.12.2.

    • 65
    • April 15, 2026
    • Mods
    • +1
  • Indicatia project image

    Indicatia

    • 128.1K
    • Mods

    Simple and lightweight in-game info and utilities!

    • 128.1K
    • April 14, 2026
    • Mods
  • Squid No Glitch project image

    Squid No Glitch

    • 265.0K
    • Mods

    A tiny mod that fixes various vanilla bugs with the squid

    • 265.0K
    • April 4, 2026
    • Mods
    • +1
  • Fish of Thieves project image

    Fish of Thieves

    • 5.3M
    • Mods

    A mod adds all of the fish from Sea of Thieves, fish fer ye pirate!

    • 5.3M
    • April 17, 2026
    • Mods
    • +2
  • Modern Mob Spawn project image

    Modern Mob Spawn

    • 65
    • Mods

    A tiny mod that brings modern mob spawn condition into 1.12.2.

    • 65
    • April 15, 2026
    • Mods
    • +1
  • Indicatia project image

    Indicatia

    • 128.1K
    • Mods

    Simple and lightweight in-game info and utilities!

    • 128.1K
    • April 14, 2026
    • Mods
  • Squid No Glitch project image

    Squid No Glitch

    • 265.0K
    • Mods

    A tiny mod that fixes various vanilla bugs with the squid

    • 265.0K
    • April 4, 2026
    • Mods
    • +1