Tags
Creators
Details
0.2
Compatibility
Changes
Salt’s Animal Farm 0.2
This update focuses heavily on server performance, especially for crowded farms with many animals packed into small areas.
Performance
- Reduced CPU load from animal comfort pathfinding in crowded farms.
- Added throttling so animals do not constantly search for new comfort/space targets.
- Added a shared per-tick pathfinding budget for comfort tasks to prevent large groups from overwhelming the server thread.
- Added a per-search path check limit so one animal cannot spend too much time evaluating comfort spots.
- Added caching for nearby threat checks to reduce repeated hostile/fear calculations.
- Improved behavior gating so disabled systems skip more work instead of still running partial logic.
New Config Options
- Added
comfortSpaceRetargetIntervalTicks. Controls how often an active comfort task can search for a better space target. Default:40. - Added
comfortMaxPathChecksPerSearch. Limits how many pathfinding checks one comfort search can perform before deferring. Default:12. - Added
comfortPathfindingBudgetPerTick. Sets a shared comfort pathfinding budget across animals each server tick. Default:64. - Added
comfortOutcomeCopyRadius. When greater than0, animals can copy a recent direct comfort result from another nearby animal instead of recalculating everything. Default:0, disabled. - Added
onlyBredAnimalsUseWeightAndComfort. When enabled, only animals born from breeding use the weight, comfort, sickness, fear, and custom loot systems. Wild animals act vanilla. Default:false.
Behavior Changes
- Hide-from-rain behavior is now disabled by default to reduce unexpected pathfinding load.
- Animals that copy a comfort result do not count as valid sources for future copied results, preventing copy chains.
- Comfort outcome sharing only uses animals that directly completed their own comfort task within the last 5 minutes.
- Animals born from breeding now persist that status, so the bred-only config works across saves/reloads.
Compatibility
- Changes were applied across all supported versions and loaders:
- Minecraft
1.20.1Fabric - Minecraft
1.20.1Forge - Minecraft
1.21.1Fabric - Minecraft
1.21.1NeoForge - Minecraft
1.21.11Fabric - Minecraft
1.21.11NeoForge - Minecraft
26.1.2Fabric - Minecraft
26.1.2NeoForge
- Minecraft
Build
- Version bumped from
0.1to0.2. - All loader builds completed successfully.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:X2m1QNPV:Z7rhpN4O"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:X2m1QNPV:Z7rhpN4O"
}

