Links
Tags
Creators
Details
Licensed GPL-3.0-or-later
Published 2 months ago
Updated last week
All versions
1.4.6+26.2
Release
DG: Natural Reproduction 1.4.6+26.22 months ago 28
Compatibility
Minecraft: Java Edition
26.2
Platform
Fabric
Supported environments
Client-side
Server-side
Changes
Added & Optimized
- Zero-Allocation Spatial Partitioning & High-Mob Density Throttling (
[BL-NR-005]):- Staggered 100-Tick (5-second) Modulo: Distributed autonomous livestock breeding checks across tick cycles (
(id + gameTime) % 100 == 0) with proportional probability scaling (rate / 100), reducing server AI check overhead by over 95%. - Fast-Fail Probability Ordering: Random reproduction chance is rolled before any block or entity scans occur, skipping 99.9% of heavy world interactions in constant $O(1)$ time.
- SpatialBreedingCacheHelper: Created single-purpose spatial cache managing sub-chunk entity density counts (100-tick TTL) and pasture enrichment evaluation (200-tick TTL), eliminating redundant bounding-box entity scans and block state iterations across neighboring livestock.
- Compact Pasture Scan Bounds: Optimized pasture scanning bounding box from 25x9x25 down to a compact 17x7x17 enclosure radius ($2,023$ blocks).
- Staggered 100-Tick (5-second) Modulo: Distributed autonomous livestock breeding checks across tick cycles (
- Better Dogs Synergy & Tamed Pet Protection (
AnimalBreedingMixin):- Tamed Animals Autonomous Breeding Exemption: Tamed dogs and pets never breed autonomously in the wild without explicit player interaction.
- Instant Vanilla Birth Delivery: Manual breeding of tamed dogs immediately delivers vanilla/Better Dogs litters (1โ4 pups, personality DNA, scale alleles) with zero forced gestation delays.
- Herd Flocking Scoping: Restricted
FollowHerdLeaderGoalstrictly to pastoral livestock, allowing Better Dogs pack alpha leadership (WildWolfFollowLeaderGoal) to operate exclusively on wolves.
- Cooperative Herd Leader Caching (
HerdSocialHelper): Implemented spatial chunk caching (LEADER_CACHE) caching elected Alpha leaders for 10 seconds (200 ticks), eliminating hundreds of redundant 24-block bounding box queries per second across loaded chunks.
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:WT4xq2BM:m0zdMOdt"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:WT4xq2BM:m0zdMOdt"
}

