[PR #2147] [MERGED] Let a fire charge light a creeper #4048

Closed
opened 2026-11-03 04:14:17 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2147
Author: @kacpherek
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @ludovic111

Base: main ← Head: fix/creeper-fire-charge


📝 Commits (1)

  • 8178ec3 Let a fire charge light a creeper

📊 Changes

1 file changed (+27 additions, -3 deletions)

View changed files

📝 crates/horizon-client/src/game/creatures.rs (+27 -3)

📄 Description

What and why

Right-clicking a creeper with a fire charge did nothing in single player; only flint and steel lit it. Creepers are now lit by any item in the creeper_igniters tag, which holds both items:

  • A fire charge is used up (unless in creative) and plays the fire charge sound.
  • Flint and steel loses durability and plays the flint and steel sound, as before.
  • The sound is played at the creeper's feet with a pitch taken from the creeper's own random, as in vanilla. Before, the flint and steel sound used the generic pitch.

The remote-play prediction in remote_mob_use.rs already accepted a fire charge.

Vanilla reference

  • Creeper.mobInteract: any item in ItemTags.CREEPER_IGNITERS ignites the creeper. The sound is FIRECHARGE_USE for a fire charge, else FLINTANDSTEEL_USE, with pitch random.nextFloat() * 0.4 + 0.8. A non-damageable item is shrunk by one, a damageable one is hurt by one.
  • data/minecraft/tags/item/creeper_igniters.json: flint_and_steel, fire_charge.

Self-check

cargo check -p horizon-client passes.


🔄 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/2147 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/26/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/creeper-fire-charge` --- ### 📝 Commits (1) - [`8178ec3`](https://github.com/horizon-rust/horizon/commit/8178ec3dae58d4d4f08afcfcf24ff08d56081c30) Let a fire charge light a creeper ### 📊 Changes **1 file changed** (+27 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/creatures.rs` (+27 -3) </details> ### 📄 Description ## What and why Right-clicking a creeper with a fire charge did nothing in single player; only flint and steel lit it. Creepers are now lit by any item in the `creeper_igniters` tag, which holds both items: - A fire charge is used up (unless in creative) and plays the fire charge sound. - Flint and steel loses durability and plays the flint and steel sound, as before. - The sound is played at the creeper's feet with a pitch taken from the creeper's own random, as in vanilla. Before, the flint and steel sound used the generic pitch. The remote-play prediction in `remote_mob_use.rs` already accepted a fire charge. ## Vanilla reference - `Creeper.mobInteract`: any item in `ItemTags.CREEPER_IGNITERS` ignites the creeper. The sound is `FIRECHARGE_USE` for a fire charge, else `FLINTANDSTEEL_USE`, with pitch `random.nextFloat() * 0.4 + 0.8`. A non-damageable item is shrunk by one, a damageable one is hurt by one. - `data/minecraft/tags/item/creeper_igniters.json`: `flint_and_steel`, `fire_charge`. ## Self-check `cargo check -p horizon-client` passes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:14:17 +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#4048
No description provided.