Boids

A computer model that simulates the flocking or herding behavior observed in nature, like the coordinated movement of birds or fish.
Back to Files

boids-26.3-Fabric-2.0.0.jar

File nameboids-26.3-Fabric-2.0.0.jar
Uploaded
Dec 2, 2026
Downloads
2
Size
70.1 KB
Mod Loaders
Fabric
File ID
9966281
Type
R
Release
Supported game versions
  • 26.3

Curse Maven Snippet

Fabric

modImplementation "curse.maven:boids-reforged-1515836:9966281"

Learn more about Curse Maven

What's new

Changelog

2.0.0

New movement

  • Rewritten flocking. Fish now ease into turns instead of snapping, turn in smooth arcs with a realistic minimum turning radius, and vary their speed with their school instead of always swimming at full speed
  • Each fish follows its 7 nearest schoolmates, like real schools. Schools stay together, split and merge naturally, and large schools are much cheaper on the server
  • Schools have moods. They switch between travelling (fast and tightly aligned) and loitering (slow, loose and milling around), and the whole school changes mood together
  • Any fish can take the lead for a while. The school follows it to new places and into a new mood, so schools explore the whole body of water instead of circling in one spot
  • Fish swim in short bursts and glides instead of at a constant speed
  • Steering is smoothed, schools are flatter like real ones, and fish no longer bob up and down inside the school
  • A fish that loses its school searches for it
  • Fish see terrain ahead of them and steer around walls, pillars and shorelines before touching them, and find their way out of dead ends
  • Fish keep away from the surface and floor and spread out through the water column. In shallow water they look for deeper water
  • Fish slow down in cramped water such as small aquariums, and turn on the spot near walls instead of bumping into them

Predators and panic

  • Fish flee from nearby players they can see, from whatever hurt them, and from predators: dolphins, axolotls, guardians and drowned (data tag #boids:fish_predators, configurable in the Threats list)
  • Fleeing fish sprint, and panic spreads through the school in a wave

Fixes

  • "Include Default Fish" did nothing because vanilla salmon, cod and tropical fish were added back by name. Turning it off now works, including on dedicated servers
  • Fish no longer sink to the bottom of the water over time
  • Fish in small aquariums no longer clump together into a single block
  • Config changes from the config screen or /boids config reload now apply to fish that are already loaded
  • Fish loaded together with the world could miss the simulation on Forge/NeoForge
  • Bucketed or despawned fish no longer pull their school toward where they were
  • Simulated fish despawn normally again
  • Modded fish that are not tagged as aquatic no longer swim through the air
  • Pufferfish are no longer simulated by default, so they puff up again. Add minecraft:pufferfish to Included Entities to bring them back
  • Name matching only applies to water mobs from other mods
  • /boids config reload reports when the config file cannot be read
  • Fixed Fabric development runs loading the wrong YACL build

Config

  • New options: turn rate, neighbor range and count, flee settings, threats list, obstacle avoidance, include modded fish
  • Included, Excluded and Threat lists accept ids, wildcards (aquaculture:*, *_fish) and tags (#minecraft:aquatic)
  • Existing config/boids.json5 files are upgraded automatically. Values you changed are scaled to the new movement, values you left alone move to the new defaults, and list entries without a namespace keep matching the same mob
  • The config file now has comments, and the config screen explains that dedicated servers use the server's own file

Other

  • Added Minecraft 26.2 and 26.3 support. On 26.3, Fabric Loader 0.20.1 or newer is required
  • On Fabric the mod also provides the id boids_reforged, so addons can tell it apart from the other Boids mod

1.0.5

  • Silverfish are no longer affected by the simulation by default (they were caught by the *fish pattern)
  • Added included/excluded entity lists to the config screen so mobs can be added to or removed from the simulation
  • Fish out of water no longer fly across the ground; they fall back to vanilla flopping AI until back in water

This mod has no additional files