
SoulKeeper
SoulKeeper - плагин и мод для Minecraft, который сохраняет ваш инвентарь и опыт после смерти в виде светящейся души. Вещи больше не сгорят в лаве и не пропадут в пустоте.
Оцените первым
2.4K
7
2.4K
7
Список изменений
[REFACTOR] Type soul ids and follow rules-architecture 0.21.0 (#109)
Overview
Souls are loaded by a typed SoulId, and SoulKeeper passes architectureLint of rules-architecture 0.21.0 with no baseline; the findings are fixed in code.
Related Issue
Motivation and Context
A soul id was a bare Long that could be mixed up with any other number, and the repository mixed get… names with suspend loads. architectureLint also runs the type-resolution detekt tasks that check skips; on master it reported findings check did not show.
Technical changes
SoulIdvalue class;SoulRepositoryloads withloadSouls,loadSoul(SoulId),loadPlayerSouls,loadSoulsNearand deletes withdeleteSoul(SoulId); the/soulsintents carrySoulId.Soulis a sealed interface in one file withDatabaseSoul,ItemDatabaseSoulandDefaultSoul.safeRunofExposedSoulRepositoryrethrowsCancellationExceptioninstead of turning it into a failed result;orderBytakes the column and order instead of aPair.Clockis created once inCoreModuleand passed to the workers, the throttle executor, the event listeners and the souls command executor./soulslist buttons no longer take anonClickcallback: a click emits an intent into a flow the executor collects.CommandExceptionHandlerandSoulsCommandare inapipackages of the command unit;soulsissoul,packeteventsispacketevent.- Root packages of the event and service units follow the unit path (
event.bukkit|forge|neoforge,service.api|bukkit|forge|neoforge);RootModuleis internal. - The Java vararg calls (
WrapperPlayServerDestroyEntities,Inventory.addItem) keep one call with the spread operator under@Suppress("SpreadOperator"). - rules-architecture 0.21.0, version 1.19.0; coroutine tests return
runTestasTestResult; application KDoc, redundantsuspendand unused properties are removed.
How to test
- Start a Paper server with the Bukkit jar and die: a soul appears.
- Open
/soulsand click[TP],[FREE]and the page buttons. - Pick up a soul with a full inventory: what does not fit drops as before.
- Start a Forge and a NeoForge server and die: souls are created.
Not checked on a live server.
Changelog
Nothing a user notices.
Файлы
SoulKeeper-forge-1.19.0.jar(22.99 MiB)
ОсновнойМетаданные
Канал релиза
Beta
Номер версии
1.19.0
Загрузчики
Forge
Версии игры
1.16–1.21
Загрузок
6
Дата публикации
03.11.2026
