goety_invasion-1.1.1.jar
Curse Maven Snippet
What's new
Changelog
Fixes
Fixed trained servants being able to be trained again
The root cause was the fallback branch in the servant training check, which used mob instanceof Neollager. Since every trained form inherits from Neollager, when a trained servant stood near an Ominous Pyre and matched a training target, the fallback would incorrectly allow it through, causing servants such as the Firecaller Servant and Provoker Servant to be trained a second time.
The training check has been rewritten to group targets precisely by type: targets with specific prerequisites each verify their required source, regular Neollagers and magic Neollagers are handled as separate groups, and the fallback branch now returns false, so no target type or trained form outside the explicit list is permitted.
Fixed the magic Neollager requirement not being enforced
The Provoker Servant, Sorcerer Servant, and Firecaller Servant were intended to accept only Neollagers with magical aptitude, but they previously shared the same fallback logic as other training targets, allowing ordinary Neollagers to trigger them as well. These three targets are now handled independently and require the source to be a Neollager with isMagic() returning true.
Fixed short-circuit evaluation in the Firecaller Servant training condition
In the Firecaller Servant's training condition, the dead bush check and the subsequent red sand and hay block checks were not properly grouped, so meeting the dead bush count alone would short-circuit the remaining conditions and allow training at otherwise invalid sites. The condition has been grouped correctly.
Fixed config files not being recognized by in-game config mods
Config files were previously placed under the config/goety_invasion/ subdirectory and loaded manually, which prevented them from being recognized by mods such as Configured and Forge Config Screens, so players could not modify them in-game.
The config files are now registered through Forge's official config API and renamed to goety_invasion-spells.toml and goety_invasion-servants.toml, placed directly under the config/ directory. Players can now view and modify these settings in-game in real time, and Forge will reload them automatically.
Miscellaneous
The Bound Sorcerer now emits white particles at all times
Previously the white particles were only displayed while casting. The Bound Sorcerer now continuously emits white particles regardless of whether it is casting.
Added the missing English entry for the Firecaller Servant's training condition
The English version of the Ominous Pyre Additions was previously missing the Firecaller Servant's training condition entry. It has now been added, matching the structure of the Chinese version.
This mod has no additional files

