Tags
Creators
Details
Licensed LGPL-3.0-or-later
Published 5 months ago
Updated 2 months ago
All versions
1.0.2
Release
Dragon Care - 1.0.2 - 1.20.1v4 months ago 116
Compatibility
Minecraft: Java Edition
1.20.1
Platforms
Forge
NeoForge
Supported environments
Client and server
Changes
English Changelog
✨ New Features & Configurations
- Structure Generation Settings: Added a new configuration category to fully control structure spawns. You can now globally disable all addon structures or toggle them individually (Dragon Hunter Guild, Hunter House, Ruined Village Forge).
- Spawn Multipliers: Added spawn chance multipliers for each structure type. You can now tweak the generation frequency from
0.01x(extremely rare) up to100.0x. - All new configuration options are fully localized (English, Russian, Ukrainian) with detailed in-game tooltips.
🛠️ Optimizations & Memory Leak Fixes (Technical Details)
- Resolved Client-Side RAM Bloating: Fixed a critical memory leak where visual caches (Dynamic Dirt Textures, Bond Points) were not cleared upon disconnecting. Caches are now properly flushed during the
ClientPlayerNetworkEvent.LoggingOutevent, preventing RAM accumulation when switching between servers or single-player worlds. - Resolved Server-Side Cache Leaks: Fixed an issue where item cooldown trackers (Dragon Blood Syringe, Scale Shears, Painkillers) retained data for unloaded or dead dragons indefinitely.
- Implemented a background garbage collection tick (runs every 1 minute) to safely prune stale cooldown entries.
- Added a
LivingDeathEventhook to instantly wipe a dragon's UUID from all memory arrays the moment it dies.
Русский список изменений
✨ Новые функции и настройки
- Настройки генерации структур: Добавлена новая категория в конфиг мода для полного контроля над структурами. Теперь можно глобально отключить все постройки аддона или переключать их по отдельности (Гильдия охотников, Дом охотника, Разрушенная кузница).
- Множители спавна: Добавлены множители шанса генерации для каждого типа построек. Вы можете настроить частоту появления от
0.01x(очень редко) до100.0x. - Все новые настройки полностью переведены (Русский, Английский, Украинский) и имеют подробные всплывающие подсказки прямо в игре.
🛠️ Оптимизация и исправление утечек памяти (Технические детали)
- Исправление утечки ОЗУ на клиенте: Исправлен критический баг, из-за которого кэш (динамические текстуры грязи, очки привязанности) не очищался при выходе в меню. Теперь все данные корректно удаляются при отключении от сервера, что предотвращает "разбухание" оперативной памяти при долгой игре и смене миров.
- Исправление утечки кэша на сервере: Исправлена проблема, при которой кулдауны предметов (Шприц для крови, Ножницы, Обезболивающее) навсегда сохраняли в памяти данные о выгруженных или убитых драконах.
- Внедрен фоновый процесс очистки мусора (срабатывает раз в 1 минуту), который безопасно удаляет устаревшие таймеры.
- Добавлен перехватчик смерти моба, который мгновенно стирает UUID дракона из всех массивов памяти в момент его гибели.
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:Hlm7REws:lQBXtfdI"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Hlm7REws:lQBXtfdI"
}

