Commit Graph

3 Commits

Author SHA1 Message Date
Claude 32b7ef501b Fix goal-priority starvation and spurious anti-cheese triggers for zombies/spiders
AdaptiveZombiePackTacticsGoal and AdaptiveSpiderTacticsGoal shared their
goalSelector priority with vanilla's melee attack goal, so per
WrappedGoal.canBeReplacedBy() they could never interrupt it once a mob was
already fighting - the new tactics essentially never ran in combat. Give
them strictly lower priority numbers than the vanilla attack goal (and
below the disengage/flee goal for spiders) so they can actually take over.

Also fix AdaptiveAntiCheeseGoal.canUse(), which fell back to a bare
cooldown check when no real trap/obstacle condition applied, causing it to
fire every few seconds and briefly steal MOVE/LOOK control for nothing.
canUse() now mirrors the actual conditions checked in start() so it only
triggers when there's something to correct.
2026-07-02 08:34:54 +00:00
Fretux 9d8cea70dc update mob behaviour for zombies and spooders 2026-06-29 18:59:23 +02:00
Fretux 7fe5ab4e24 Initial commit 2026-06-29 15:59:48 +02:00