TDN-2.3.3-Forge
Curse Maven Snippet
What's new
Major Changes
Complete refactor of the Gaze mechanic
- Removed the old
GazeGoalAI‑goal‑based implementation. Gaze is no longer an individual mob goal running per‑entity. - Introduced new
GazeMechanic, driven by server‑side player tick events. It iterates mobs around each player in batches, which greatly reduces tick overhead when large numbers of duskveil‑spawned mobs exist.
Localization support
- All hard‑coded display strings (command feedback messages, sleep‑prevent warning, overlay UI text, error prompts for time/weather mixins) have been replaced with translatable component keys.
New Features
- Added reload commands:
/duskveil reload server: Reload server‑side config./duskveil reload moblist: Reload moblist JSON configuration.- Client‑side command
duskveil:client reloadfor client config reloading.
- Spawner config: Added
no_babyoption (default = true). When enabled, baby variants of mobs will be discarded immediately upon spawn. MoblistConfig: The{key}placeholder for mob id template will automatically convert input keys to lowercase when generating JSON entries.
Improvements
Spawn system
- Rewrote mob equipment enchant logic. Moved enchantment logic before entity instantiation, fixes concurrency‑related priority bugs and cases where enchantments failed to apply.
- Overlay: Stop calculating surrounding‑entity counts in the background when the info overlay is disabled to improve performance.
Code & internal system
- Removed fully‑deprecated
NoSleepclass; sleep‑blocking logic is entirely handled by mixins now. - Moved gaze‑related code out of goal package into standalone package
entity.gaze. - Adjusted logging level inside
EventDetector: Tide‑night trigger messages changed fromDEBUGtoINFOlog level. - Removed redundant log outputs inside
MoblistConfig. - Fixed comment ambiguity for server config option
Disable Attack Each Other, comment text now matches the actual function of the config key.
Fixes
- Fixed the fixed‑day interval trigger bug, which triggered Tide Night every single day due to reversed condition logic.
- Fixed potential issues where config‑reload timing caused status‑effect cache and client fog‑color settings not updating correctly.
- Resolved the bug where spawned entities had no equipment by using
ForgeEventFactory.onFinalizeSpawn(). - Fixed edge‑case compatibility: Some mod‑provided mob equipment could not receive enchantments from duskveil spawn logic.
- Fixed inconsistent random source by unifying random API calls.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

