Перейти к содержимому
Mineforgian

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.

9K загрузок6 подписчиковGPL-3.0-or-laterfabric

Обновлён 6 июня 2026 г. · опубликован 3 февраля 2026 г.

Dasik Library Banner

Requires Fabric API Java License

🧠 Dasik Library

No Backports: This library targets Minecraft 26.1+. Older versions are unsupported.

This is a Core Library / API. It provides shared functionality for my mods (Vanilla Outsider, Better Dogs, Bat Ecology). 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.

🐣 Universal Life Cycle

Why should only Villagers and Cows have babies? Dasik Library democratizes life itself.

  • Universal Aging: Any entity can be patched to support baby variants with proper scaling and growth data.
  • Unified Breeding: A centralized registry allows defining breeding items, cooldowns, and partners for any mob—even those Mojang forgot.
  • Growth Acceleration: Feeding babies valid items speeds up their growth logic, universally handled.

🎭 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 until ServerTick.


📦 Install

  1. Install Fabric API.
  2. Download dasik-library-1.2.6.jar and place it in your mods folder.
  3. Required by all Vanilla Outsider mods.

☕ Support

If you enjoy the Vanilla Outsider ecosystem, consider fueling the next update!

Ko-fi SocioBuzz

[!NOTE] Indonesian Users: SocioBuzz supports local payment methods (Gopay, OVO, Dana, etc.) if you want to support me without using PayPal/Ko-fi!


📜 Credits

Role Author
Architect Rifaditya (Dasik)
Collection Vanilla Outsider
License LGPLv3

[!IMPORTANT] Modpack Permissions: You are free to include this mod in modpacks, provided the modpack is hosted on the same platform (e.g. Modrinth).

Cross-platform distribution is not permitted. If you download this mod from Modrinth, your modpack must also be published on Modrinth.


Made with ❤️ for the Minecraft community

Part of the Vanilla Outsider Collection

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.8.2Релиз26.2-pre-6, 26.2-rc-1, 26.2-rc-2, 26.2fabric6 июня 2026 г..jar (150 КБ)
1.8.1Релиз26.2-pre-1, 26.2-pre-2, 26.2-pre-3, 26.2-pre-4fabric5 июня 2026 г..jar (148 КБ)
1.7.4Релиз26.2-snapshot-8, 26.2-pre-1, 26.2-pre-2, 26.2-pre-3fabric29 мая 2026 г..jar (133 КБ)
1.7.2Релиз26.2-snapshot-6, 26.2-snapshot-7, 26.2-snapshot-8, 26.2-pre-1fabric27 мая 2026 г..jar (129 КБ)
1.7.1Релиз26.1.2fabric16 мая 2026 г..jar (128 КБ)
1.7.0Релиз26.2-snapshot-3, 26.2-snapshot-4, 26.2-snapshot-5, 26.2-snapshot-6fabric11 мая 2026 г..jar (128 КБ)
1.6.9+build.24Релиз26.1.2fabric10 мая 2026 г..jar (127 КБ)
1.6.9+build.24Релиз26.2-snapshot-3, 26.2-snapshot-4, 26.2-snapshot-5, 26.2-snapshot-6fabric8 мая 2026 г..jar (127 КБ)
1.6.9+build.23Бета26.2-snapshot-2, 26.2-snapshot-3, 26.2-snapshot-4, 26.2-snapshot-5fabric22 апреля 2026 г..jar (125 КБ)
1.6.9+build.22Релиз26.1, 26.1.1, 26.1.2fabric17 апреля 2026 г..jar (123 КБ)
1.6.9+build.21Бета26.1.1, 26.2-snapshot-1, 26.1.2-rc-1, 26.1.2fabric15 апреля 2026 г..jar (123 КБ)
1.6.9+build.17Бета26.1, 26.1.1, 26.1.2fabric15 апреля 2026 г..jar (122 КБ)
1.6.9+build.16Бета26.1, 26.1.1, 26.1.2fabric15 апреля 2026 г..jar (122 КБ)
1.6.9+build.15Релиз26.1.2fabric13 апреля 2026 г..jar (119 КБ)
1.6.9+build.14Релиз26.1-rc-1, 26.1-rc-2, 26.1-rc-3, 26.1fabric7 марта 2026 г..jar (119 КБ)

Показаны последние 15 из 18 версий. Все версии — на Modrinth.

Ченджлог

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.GuiHelper dynamic 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 GeneticsLootModifier functional interface and GeneticsLootRegistry mapping EntityType<?> to modifiers.
  • LivingEntityLootMixin: Intercepts LivingEntity.dropFromLootTable using a @ModifyVariable hook 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:genetics to 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 ConfigHelper providing 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, and getDecileFloat to DynamicGameRuleManager to centralize math conversions (percentages, permilles, deciles) for GameRule values.
1.7.2Релиз26.2-snapshot-7, 26.2-snapshot-8, 26.2-pre-1 · 27 мая 2026 г.

[1.7.2] - 2026-05-26

Added

  • Client-Side Integrated Server Helper: Introduced ClientGameRuleHelper to fetch game rules from the integrated server thread in singleplayer/local play on the client side.
  • Dedicated Server Classloading Protection: Added client environment checks (FabricLoader.getInstance().getEnvironmentType() == EnvType.CLIENT) to lazily load the client-side helper, preventing classloading crashes (such as missing Minecraft class) on dedicated servers.

Changed

  • Dual-Side Game Rule Lookups: Refactored DynamicGameRuleManager.getInt and DynamicGameRuleManager.getBoolean to automatically detect environment type, cast Level to ServerLevel on logical servers, and fallback to ClientGameRuleHelper on client environments.
1.7.1Релиз26.1.2 · 16 мая 2026 г.

[1.7.1] - 2026-05-16

Summary

The "Stability & Parity" update. Implemented legacy compatibility measures and finalized the 26.1.2 terrestrial steering suite.

  • Legacy Compatibility Shim: Added a secondary constructor to GroupParameters to restore binary compatibility for mods compiled against older library versions (3-float signature).
  • API Hardening: Finalized the 10-parameter record structure for advanced terrestrial steering including weights for Cohesion, Separation, and Alignment.
1.7.0Релиз26.2-snapshot-4, 26.2-snapshot-5, 26.2-snapshot-6 · 11 мая 2026 г.

Changelog

[1.7.0] - 2026-05-11

Added

  • Parameterized Boids Weights: Added alignmentWeight, cohesionWeight, and separationWeight to GroupParameters for advanced aerial murmuration control.
  • Movement Stability Triggers: Integrated startDistance and stopDistance logic into FollowLeaderGoal. Entities now only engage movement logic when a significant threshold is reached, reducing pathfinding overhead and jitter.

Changed

  • API (Breaking): Updated GroupParameters record to include Boids weights and distance triggers. Consumer mods must update constructor calls to 1.7.0 specification.
  • Aerial Refinement: AerialFlockingStrategy now utilizes the new weighted Boids parameters, enabling realistic "Starlings" style murmuration behavior for flying entities.
  • Terrestrial Optimization: Land-bound flocking now respects the stopDistance parameter to prevent pushing/jittering when at the destination.
1.6.9+build.24Релиз26.1.2 · 10 мая 2026 г.

Build 1.6.9+build.24: Protocol 2.1 Alignment & Infrastructure Update

1.6.9+build.24Релиз26.2-snapshot-4, 26.2-snapshot-5, 26.2-snapshot-6 · 8 мая 2026 г.

Changelog

[1.6.9+build.24] - 2026-05-08

Added

  • Enchantment API: Added DynamicEnchantmentManager to handle GameRule-based enchantment capping in Mixins.
  • Projectile API: Added ProjectileEffectHelper to encapsulate threshold-based high-velocity effects (Sonic Juice).

Полная история изменений — на Modrinth.

Комментарии

Загружаем…