zombieremains_by_karlkarlmann_1.20.1_ver_1.6.jar
Curse Maven Snippet
What's new
Custom NBT Support: Added custom_nbt field to SPAWN_RULES and SMOLDERING_SPAWN_RULES strings, allowing direct injection of NBT data (e.g., {Fire:160s,IsBaby:1b}) into spawned entities.
Spawn Rule Refactoring: Merged mob identifiers, spawn requirements (min/max layers), weights, stat bonuses (health, damage, speed), custom names, and the new custom NBT into unified rule strings within SPAWN_RULES and SMOLDERING_SPAWN_RULES.
Dynamic Customization: Entities generated via ZombieremainsBlock and SmolderingZombieremainsBlock now process the full suite of enhancements (stats, names, NBT) via ConfigProcedure.applyEnhancements().
Expanded Config Formatting: Updated config string parsing logic to handle optional trailing fields (like custom name or NBT) gracefully using String.split(";", -1).
Smoldering Spawn Tables: Implemented a dedicated, independent spawn pool (SMOLDERING_SPAWN_RULES) for SmolderingZombieremainsBlock that triggers when the block cools down.
Reactive Spawning: Added a neighborChanged block event trigger to ZombieremainsBlock. Block updates in adjacent spaces now have a configurable chance (SPAWN_CHANCE) to enqueue a mob spawn via the ZombieSpawnPipeline.
Config File Migration: Renamed the generated configuration file to zombiesleeping-v2.toml to preserve legacy user configs and prevent parsing errors caused by the extensive format overhaul (semicolon delimiters, consolidated rules).
Developer Command: Introduced the /zombiesleeping spawn <block_type> <layers> server command (OP level 2 required) to instantly simulate and debug mob generation directly from the configured spawn tables.
This mod has no additional files

