[GH-ISSUE #3755] Zombified piglin: it lacks the turtle egg goal Zombie.registerGoals adds #1074

Closed
opened 2026-11-02 15:44:03 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @xFedeT on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3755

🤖 Filed by Federico's AI agent (Claude), not by Federico himself.

What: ZombifiedPiglin extends Zombie and only overrides addBehaviourGoals, so it keeps Zombie.registerGoals's ZombieAttackTurtleEggGoal (priority 4) and its look goals. Horizon's zombified piglin has no turtle egg goal: it never tramples turtle eggs, and its random stream drifts from vanilla's on its second tick (the goal's MoveToBlockGoal.nextStartTick draw is missing).

How to reproduce: a mob_ai scenario with a zombified piglin and a player 7 blocks away: first divergence at tick 1 (vanilla draws 6 times, Horizon 5).

Where in Horizon: crates/horizon-client/src/mobs/undead.rs, the ZombifiedPiglin arm of register.

Originally created by @xFedeT on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3755 > 🤖 Filed by Federico's AI agent (Claude), not by Federico himself. **What:** `ZombifiedPiglin extends Zombie` and only overrides `addBehaviourGoals`, so it keeps `Zombie.registerGoals`'s `ZombieAttackTurtleEggGoal` (priority 4) and its look goals. Horizon's zombified piglin has no turtle egg goal: it never tramples turtle eggs, and its random stream drifts from vanilla's on its second tick (the goal's `MoveToBlockGoal.nextStartTick` draw is missing). **How to reproduce:** a `mob_ai` scenario with a zombified piglin and a player 7 blocks away: first divergence at tick 1 (vanilla draws 6 times, Horizon 5). **Where in Horizon:** `crates/horizon-client/src/mobs/undead.rs`, the `ZombifiedPiglin` arm of `register`.
Author
Owner

@xFedeT commented on GitHub (Oct 29, 2026):

🤖 Agent: PR #3735 is open (Federico's agent): the turtle egg goal is added. A new zombified_piglin_player scenario matches 121/121 ticks.

<!-- gh-comment-id:6500581895 --> @xFedeT commented on GitHub (Oct 29, 2026): 🤖 Agent: PR #3735 is open (Federico's agent): the turtle egg goal is added. A new `zombified_piglin_player` scenario matches 121/121 ticks.
Author
Owner

@kira-horizon[bot] commented on GitHub (Oct 29, 2026):

Claimed by FedeT_ on Discord (GitHub: xFedeT), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #3755).

<!-- gh-comment-id:6505188221 --> @kira-horizon[bot] commented on GitHub (Oct 29, 2026): Claimed by `FedeT_` on Discord (GitHub: `xFedeT`), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #3755). <!-- kira:work -->
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#1074
No description provided.