[PR #3766] [CLOSED] Zombie horse: catch on fire in daylight matching vanilla #5204

Closed
opened 2026-11-03 05:10:56 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3766
Author: @echo-ilovech3ss
Created: 10/29/2026
Status: ❌ Closed

Base: main ← Head: fix/zombie-horse-daylight-burn


📝 Commits (3)

  • ddd02cd Zombie horse: catch on fire in daylight matching vanilla
  • 5ff1a61 Merge branch 'main' into fix/zombie-horse-daylight-burn and retain regression test
  • d014682 mobs: add daylight burning regression test for zombie horse

📊 Changes

1 file changed (+23 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/mobs/ai.rs (+23 -0)

📄 Description

What and Why

Fixes #3301.

Zombie horses did not burn in sunlight because burns_in_day omitted ZombieHorse, even though vanilla Java Edition's #minecraft:burn_in_daylight entity type tag explicitly includes minecraft:zombie_horse.

Changes

  • crates/horizon-client/src/mobs/species.rs: Added | S::ZombieHorse to burns_in_day in Def::flags.
  • crates/horizon-client/src/mobs/ai.rs: Added unit test verifying that ZombieHorse burns in daylight while SkeletonHorse and Horse do not.

Checks

  • Checked against data/minecraft/tags/entity_type/burn_in_daylight.json from the 26.3 client JAR.
  • cargo test -p horizon-client --lib -- mobs::ai: passed.
  • python3 tools/check_public_tree.py: passed.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/3766 **Author:** [@echo-ilovech3ss](https://github.com/echo-ilovech3ss) **Created:** 10/29/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/zombie-horse-daylight-burn` --- ### 📝 Commits (3) - [`ddd02cd`](https://github.com/horizon-rust/horizon/commit/ddd02cd91fe2e2a3bba492b95bd2f098c1320900) Zombie horse: catch on fire in daylight matching vanilla - [`5ff1a61`](https://github.com/horizon-rust/horizon/commit/5ff1a6155a144b129a4f04018a02f5cfdd76b012) Merge branch 'main' into fix/zombie-horse-daylight-burn and retain regression test - [`d014682`](https://github.com/horizon-rust/horizon/commit/d01468263cf4615db406a6bf10d534d408e52436) mobs: add daylight burning regression test for zombie horse ### 📊 Changes **1 file changed** (+23 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/mobs/ai.rs` (+23 -0) </details> ### 📄 Description ### What and Why Fixes #3301. Zombie horses did not burn in sunlight because `burns_in_day` omitted `ZombieHorse`, even though vanilla Java Edition's `#minecraft:burn_in_daylight` entity type tag explicitly includes `minecraft:zombie_horse`. ### Changes - `crates/horizon-client/src/mobs/species.rs`: Added `| S::ZombieHorse` to `burns_in_day` in `Def::flags`. - `crates/horizon-client/src/mobs/ai.rs`: Added unit test verifying that `ZombieHorse` burns in daylight while `SkeletonHorse` and `Horse` do not. ### Checks - Checked against `data/minecraft/tags/entity_type/burn_in_daylight.json` from the 26.3 client JAR. - `cargo test -p horizon-client --lib -- mobs::ai`: passed. - `python3 tools/check_public_tree.py`: passed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:10:56 +07:00
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#5204
No description provided.