
Dasik Library
The core library and API for all Dasik mods, including the Vanilla Outsider collection. You only need this if another mod requires it.
- Загрузки
- 20K
- Подписчики
- 9
- Обновлён
- 20 августа 2026 г.
- Лицензия
- GPL-3.0-or-later
Опубликован 3 февраля 2026 г.
🧠 Dasik Library
No Backports: This library targets Minecraft 26.2+. Older versions are unsupported.
This is a Core Library / API. It provides shared functionality for my mods (Vanilla Outsider, Instant Gratification, and Delayed Gratification collections). It does nothing on its own.
Dasik Library provides a unified Hive Mind architecture for complex social behaviors. Entities become aware of "Social Events" (Alerts, Moods, Requests) and participate in a global, optimized social scheduler.
✨ Features
📡 The Hive Mind (Global Signal System)
Entities don't just "tick"—they pulse.
- Unified Scheduler: One centralized system manages social interactions for all supported mods.
- Performance Optimized: Uses a "Highlander" pattern ensuring logic only runs once per tick, even if 100 mods use the library.
🎭 Social Events Registry
A standardized way for entities to communicate.
- Tracks: Events are categorized (e.g.,
Mood(High Priority),Ambient(Low Priority)). - Lazy Freeze: The registry respects mod loading order but locks down tight for stabilization once the world loads.
[!NOTE] Developer Note: This library solves the "Mod Initialization Race Condition" using the Lazy Freeze Pattern. You can register events safely in your
onInitialize, and the system won't lock untilServerTick.
🤝 Inter-Mod Compat
- Better Dogs: Uses Dasik to handle Pack mechanics, howling, and wild wolf leader-follower logic.
- MCA Female Gender Bridge: Integrates genetics & breeding physics solvers.
- Collapsible Game Rule Screen: Utilizes dynamic GameRule registration and localization helpers.
🐺 Leader-Follower API (Cached Boids)
The most advanced flocking API in the Fabric ecosystem.
- Cached Boids Pattern: Supports massive swarms (100+ entities) with minimal CPU usage by pre-calculating group data on the Leader.
- Biomechanical Logic: Alignment, Cohesion, and Separation steering for organic movement.
- Minecraft 26.2+ Native: Fully utilizes native 26.2+ entity attributes and dynamic GameRule registration.
📦 Install
- Install Fabric API.
- Download
dasik-library-1.8.5.jar(or latest) and place it in yourmodsfolder. - Required by all Vanilla Outsider, Instant Gratification, and Delayed Gratification mods.
☕ Support
If you enjoy the ecosystem, consider fueling the next update!
[!NOTE] Indonesian Users: SocioBuzz and Saweria support local payment methods (Gopay, OVO, Dana, etc.) if you want to support me without using PayPal/Ko-fi!
📜 Credits
| Role | Author |
|---|---|
| Creator | Dasik (Rifaditya) |
| Collection | Vanilla Outsider / Instant Gratification / Delayed Gratification |
| License | LGPLv3 |
[!IMPORTANT] 📦 Modpack Permissions: You are free to include this mod in any modpack on any platform. However, the mod itself must be downloaded from its official distribution pages on Modrinth or CurseForge. Re-uploading or redistributing the mod jar file to third-party sites is strictly prohibited unless explicitly permitted by the creator.
Made with ❤️ for the Minecraft community
Part of the Vanilla Outsider Collection
Ченджлог
1.8.16Релиз26.1.2, 26.2 · 15 августа 2026 г.
[1.8.16] - 2026-08-14
Fixed
- SignalBus SAME_SPECIES ClassCastException Crash: Fixed
SignalBus.shouldReceiveto safely verifysource instanceof SocialEntity socialSourcevia pattern matching before evaluating species ID equivalence. Prevents fatal server crashes when non-SocialEntityactors (such as players) emit social signals underScope.SAME_SPECIES.
1.8.15Релиз26.1.2, 26.2, 26.3-snapshot-7 · 8 августа 2026 г.
[1.8.15] - 2026-08-08
Fixed
- GameRule Codec Bounds Crash Fix: Updated
DynamicGameRuleManagerIntegerBuildersomindefaults toInteger.MIN_VALUE(orMath.min(Integer.MIN_VALUE, defaultValue)). PreventsSavedDataStorage.encodeUncheckedfrom throwingIllegalStateExceptionwhen serializinggame_rules.daton world save for integer GameRules containing negative values.
[1.8.14] - 2026-08-08
Fixed
- Category-Only Bold Formatting Isolation: Restricted
§lbold formatting exclusively to category header entries (gamerule.category...), removing un-intended bolding from individual GameRule display names (e.g. Instant Gratification ore rules).
[1.8.13] - 2026-08-07
Fixed & Added
- GameRule Category Header Bold Formatting: Updated
registerCategoryinDynamicGameRuleManagerto inject bolded (§l) category translation entries intoGENERATED_TRANSLATIONSfor category titles (e.g.Natural Reproduction (9 rules)).
[1.8.12] - 2026-08-07
Added
- Bold GameRule Title Formatting: Added
§lformatting code toDynamicGameRuleManager.generateReadableNameso all dynamically registered GameRule display names appear bolded in vanilla and modded GameRule menus.
[1.8.11] - 2026-08-07
Fixed
- Stale Attribute Modifier Purging: Fixed giant animal scale bug by actively purging all legacy and duplicate
genetics_/ mod-related attribute modifiers before applying new genetics modifiers inGeneticsEngine.applyGeneticsModifiersandresetGenetics.
[1.8.10] - 2026-08-07
Fixed
- Scale Attribute Base Offset Calculation: Fixed
GeneticsEngine.applyGeneticsModifiersto subtract1.0ffrom the modifier value when applyingADD_VALUEattribute modifiers forscale/minecraft:scale. Prevents base scale1.0from adding+1.0(rendering 200% giant entities). - Expanded Scale API Bounds: Updated
DasikAnimalGeneticsAPI.getScaleandsetScaleclamp range from[0.5f, 2.0f]to[0.1f, 3.0f]to support dynamic custom scale configurations.
1.8.9Релиз26.1.2, 26.2, 26.3-snapshot-6 · 1 августа 2026 г.
[1.8.9] - 2026-08-01
Fixed
- Minecraft 26.1.2 Compatibility: Adjusted
fabric.mod.jsondependency bounds to"minecraft": ">=26.1.2-"to ensuredasik-libraryloads seamlessly on both MC 26.1.2 and MC 26.2+. - ModVersionGuard Class Check: Updated
ModVersionGuard.checkClassinDasikLibraryModto check"net.minecraft.world.entity.EntityType"(present on 26.1.2 and 26.2+) instead ofEntityTypes(introduced in 26.2). Resolves GitHub issue #1.
1.8.4Релиз26.3-snapshot-3, 26.3-snapshot-4, 26.3-snapshot-5 · 22 июля 2026 г.
[1.8.4] - 2026-07-22
⚠️ Version Guard Notice
- Includes zero-dependency
ModVersionGuardpre-release protection. Halts startup with an explicit warning banner if run on incompatible Minecraft drops or missing core dependencies (fabric-api) to prevent world save corruption.
Fixed
- ModVersionGuard ClassLoader Patch: Updated
ModVersionGuard.javato resolve target classes viaThread.currentThread().getContextClassLoader()for Knot ClassLoader integration during startup.
1.8.3Релиз26.3-snapshot-2, 26.3-snapshot-3, 26.3-snapshot-4 · 11 июля 2026 г.
[1.8.3] - 2026-07-11
Added
- Size-Stats Genetics API: Introduced a high-level builder
SizeStatsBuilderto easily configure genetics-based physical size scaling mapped to vanillaminecraft:scale. - Linked Attribute Modifiers: Added
LinkedAttributeRegistry,LinkedAttribute, andLinkModeto map genetics traits (like size) to other attributes (e.g., max health, movement speed, attack damage) with automatic proportional, inverse, or squared scaling. - GeneticsEngine Integration: Refactored
GeneticsEngine.applyGeneticsModifiersto apply linked modifiers automatically, preserving full backward compatibility with existing TraitConfigs.
1.8.2Релиз26.2-rc-1, 26.2-rc-2, 26.2 · 6 июня 2026 г.
[1.8.2] - 2026-06-06
Added
- GuiHelper API: Introduced
net.dasik.social.api.config.GuiHelperdynamic configuration screen resolver utilizing classloader isolation and reflection to prevent dedicated server crashes.
1.8.1Релиз26.2-pre-2, 26.2-pre-3, 26.2-pre-4 · 5 июня 2026 г.
[1.8.1]
Added
- Genetics-Based Loot Modification API: Introduced
GeneticsLootModifierfunctional interface andGeneticsLootRegistrymappingEntityType<?>to modifiers. - LivingEntityLootMixin: Intercepts
LivingEntity.dropFromLootTableusing a@ModifyVariablehook to wrap the item stack consumer, allowing registered modifiers to replace, scale, or remove drops dynamically based on entity genetics.
[1.8.0]
Added
- Genetics & Breeding API: Introduced a generic, entity-agnostic, and attribute-agnostic genetics registry and calculation engine (
net.dasik.social.api.genetics). - EntityGenetics Attachment: Registered standard persistent Fabric Attachment
dasik-library:geneticsto track parent UUIDs, inbreeding state, and dynamic trait modifiers across world save cycles. - Inbreeding Verification & Outcross Recovery: Added standard calculation formulas for triangular mutations, average inheritance, inbreeding penalties, and genetic outcross recovery.
1.7.4Релиз26.2-pre-1, 26.2-pre-2, 26.2-pre-3 · 29 мая 2026 г.
[1.7.4]
Added
- Config Helper: Introduced a generic
ConfigHelperproviding safe configuration loading, saving, atomic temporary file swaps, size-limit checks, version checking, and backup generation to be shared across consumer mods.
[1.7.3]
Added
- GameRule Helpers: Added
getPct,getChance,getProb, andgetDecileFloattoDynamicGameRuleManagerto centralize math conversions (percentages, permilles, deciles) for GameRule values.
Комментарии
Загружаем…