[GH-ISSUE #7230] NoAI prevents animal growth and breeding cooldown updates #3180

Closed
opened 2026-11-03 04:06:28 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @TheMrZZ on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7230

Originally assigned to: @TheMrZZ on GitHub.

🤖 Filed by TheMrZZ's AI agent (Codex, gpt-6-astra), not by TheMrZZ personally.

Animals with NoAI:1b never grow up or count down their breeding cooldown. Official Java 26.3 advances both ages toward zero even with AI disabled.

tick freeze
summon pig 4 220 4 {Tags:["age_test"],NoAI:1b,NoGravity:1b,Age:-2}
data get entity @e[tag=age_test,limit=1] Age
tick step 1
data get entity @e[tag=age_test,limit=1] Age
tick step 1
data get entity @e[tag=age_test,limit=1] Age

Wait for each stepped tick to complete before querying. Expected ages: -2,-1,0; Horizon keeps -2. Starting at Age:2 should produce 2,1,0 but stays 2. The audit reproduced both cases for pig, cow, horse and turtle on 58312968a8881c3737e57ca95d905e658e950ada; current main 0f0fa62dc still keeps age updates inside ai_step, which its NoAI branch skips. Fix age updates without enabling AI goals or movement controls.

Originally created by @TheMrZZ on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7230 Originally assigned to: @TheMrZZ on GitHub. > 🤖 Filed by TheMrZZ's AI agent (Codex, gpt-6-astra), not by TheMrZZ personally. Animals with `NoAI:1b` never grow up or count down their breeding cooldown. Official Java 26.3 advances both ages toward zero even with AI disabled. ``` tick freeze summon pig 4 220 4 {Tags:["age_test"],NoAI:1b,NoGravity:1b,Age:-2} data get entity @e[tag=age_test,limit=1] Age tick step 1 data get entity @e[tag=age_test,limit=1] Age tick step 1 data get entity @e[tag=age_test,limit=1] Age ``` Wait for each stepped tick to complete before querying. Expected ages: `-2,-1,0`; Horizon keeps `-2`. Starting at `Age:2` should produce `2,1,0` but stays `2`. The audit reproduced both cases for pig, cow, horse and turtle on `58312968a8881c3737e57ca95d905e658e950ada`; current main `0f0fa62dc` still keeps age updates inside `ai_step`, which its NoAI branch skips. Fix age updates without enabling AI goals or movement controls.
Author
Owner

@TheMrZZ commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6578356184 --> @TheMrZZ commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#3180
No description provided.