-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the official technical documentation for Dasik Library, the shared Hive Mind social AI engine, genetics framework, Boids flocking calculator, and dynamic GameRule infrastructure for Fabric Minecraft mods.
๐ Repository Source Disclaimer: The documentation in this Wiki reflects the current source code state in the repository, which may include recent unreleased commits or developmental features ahead of public release builds on CurseForge and Modrinth.
Dasik Library operates under two core architectural principles:
- "Thin Mod, Fat Library": Modular consumer mods focus strictly on entity content and registration. Complex math, tick scheduling, genetic inheritance, Boids steering vector calculations, and NBT state serialization are centralized within Dasik Library.
-
"One Brain, Many Minds": Centralized pulse execution via
GlobalSocialSystemenforces the Highlander Rule (strictly 1 global tick cycle per game tick) to manage thousands of active entities with low performance impact.
- MC 26.2 Guide โ Installation and configuration for Minecraft 26.2+.
-
Version Compatibility โ Multi-version compatibility lifecycle matrix (
>=26.1.2-to26.2+), Knot ClassLoader safety, and version guard rules.
Explore the complete technical mechanics and configuration guides:
-
Hive Mind Social System โ Single-pulse engine, Highlander Rule,
$O(1)$ shard-basedSocialRegistry, and tick budgets. -
Social Scheduler & Events โ
EntitySocialScheduler, dual-track Mood/Ambient execution,PriorityTier, andSocialEventRegistry. -
Animal Genetics Engine โ
EntityGeneticsattachment, DNA long encoding, size-stats & scale bounds (0.1x-3.0x), runt indicators, and inheritance math. -
Genetics API & Pedigree โ
DasikAnimalGeneticsAPIfacade, Kinship & Pedigree family tree calculation, inbreeding risk prediction formulas, and dynamic trait reset/modifiers. -
Genetics Loot Modifiers โ
GeneticsLootModifier,GeneticsLootRegistry, andLivingEntityLootMixindrop wrapping logic. -
Leader Follower & Flocking โ
GroupMember,FollowLeaderGoal, Aerial & Terrestrial Boids flocking strategies, andGroupParametersweights. -
Dynamic GameRules Manager โ
DynamicGameRuleManager, dynamic registration, English translation injection, bold category headers (ยงl), and math helpers (getPct/getChance). -
GameRule Codec & Serialization โ Integer GameRule bounds validation (
Integer.MIN_VALUEfallback) preventingSavedDataStorage.encodeUncheckedcrashes. -
Client GameRule & GUI Helpers โ
ClientGameRuleHelperintegrated server lookups,GuiHelper,ConfigHelperatomic JSON swaps, and server crash safety gating. -
Dynamic Enchantments & Vision โ
DynamicEnchantmentManagerruntime injection, andPlayerVisionTrackerraycasting frustum checks. -
Stochastic & Math Utilities โ
FastRandomXORSHIFT algorithms,StochasticUtildecile/permille rolls, andTimeUtiltick-to-second ($20\text{ ticks} = 1\text{s}$ ) conversions. -
Stale Attribute Purging & Scale โ Attribute modifier purging rules,
ADD_VALUE-1.0fscale base offset math, andgenetics_modifier safety. -
ModVersionGuard & Startup Safety โ
ModVersionGuardKnot ClassLoader safety (Thread.currentThread().getContextClassLoader()), and pre-release startup crash prevention.
-
Developer Setup & Building โ JDK 25 prerequisites, Gradle 9.3+,
./gradlew build --no-daemon, and./gradlew test. -
Architecture & Package Layout โ Complete ASCII package tree (
ai,api,config,core,mixin,util) and thread-safety models. -
Mixin Reference & Hooks โ Detailed Mixin breakdown table (
LanguageMixin,LivingEntityLootMixin,MobGoalAccessor,PathfinderMobMixin,ProfileTriggerMixin). -
Behavior Profiles & Conditions โ
BehaviorProfileManager,BehaviorProfile,BehaviorCondition,ProfileAware, andDefaultProfileBuilder. - Consumer Mods Integration Guide โ Integration guide and code snippets for consumer mods (Better Dogs, Natural Reproduction, Collapsible Game Rule Screen, Bat Ecology, Ore Amplifier).
Dasik Library | Social AI & Infrastructure Engine
Developed with โค๏ธ by Dasik (Rifaditya) | Licensed under LGPL-3.0
๐ Documentation reflects active repository source code state.
- Hive Mind Social System
- Social Scheduler & Events
- Animal Genetics Engine
- Genetics API & Pedigree
- Genetics Loot Modifiers
- Leader Follower & Flocking
- Dynamic GameRules Manager
- GameRule Codec & Serialization
- Client GameRule & GUI Helpers
- Dynamic Enchantments & Vision
- Stochastic & Math Utilities
- Stale Attribute Purging & Scale
- ModVersionGuard & Startup Safety
- Developer Setup & Building
- Architecture & Package Layout
- Mixin Reference & Hooks
- Behavior Profiles & Conditions
- Consumer Mods Integration Guide