[GH-ISSUE #3469] Cannot extinguish fire when holding a sword in Creative mode #980

Closed
opened 2026-11-02 15:43:18 +07:00 by bsakaguchi · 1 comment
Owner

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

Description

In Creative mode, attacking/left-clicking a fire block (minecraft:fire or minecraft:soul_fire) while holding a sword (or trident/mace) fails to extinguish the fire.

Steps to reproduce

  1. Enter a world in Creative mode.
  2. Ignite fire on any surface (e.g., using Flint and Steel).
  3. Equip any sword (or trident / mace) in the main hand.
  4. Left-click directly on the fire block.

Expected behavior

As in vanilla Minecraft (Creative mode), left-clicking on a fire block immediately extinguishes it and plays the extinguish sound (level event 1009), regardless of the item held.

Actual behavior

Nothing happens; the fire block remains untouched. Switching to an empty hand, pickaxe, or other tool extinguishes the fire immediately.

Context & Root Cause

In crates/horizon-client/src/game/remote.rs:4403 (and game/hand.rs:520 / game.rs:3999):

if !self
    .res
    .items()
    .can_destroy_block(self.held(), self.creative)
{
    self.stop_remote_mining();
    self.mining = None;
    return;
}

Because can_destroy_block returns false for weapons with can_destroy_blocks_in_creative: false (swords, tridents, maces), remote_mining (and break_block_as_player) returns early before checking the targeted block. In vanilla Minecraft, fire blocks (BaseFireBlock / #minecraft:fire) are extinguished via block attack/destruction without being blocked by weapon instabuild restrictions.

Environment

  • OS: Linux (Ubuntu 24.04, Wayland)
  • Horizon build: v0.2.95 / v0.2.96 (aligned with main)
  • Game mode: Creative
Originally created by @josegil1909 on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3469 ## Description In Creative mode, attacking/left-clicking a fire block (`minecraft:fire` or `minecraft:soul_fire`) while holding a sword (or trident/mace) fails to extinguish the fire. ## Steps to reproduce 1. Enter a world in Creative mode. 2. Ignite fire on any surface (e.g., using Flint and Steel). 3. Equip any sword (or trident / mace) in the main hand. 4. Left-click directly on the fire block. ## Expected behavior As in vanilla Minecraft (Creative mode), left-clicking on a fire block immediately extinguishes it and plays the extinguish sound (level event 1009), regardless of the item held. ## Actual behavior Nothing happens; the fire block remains untouched. Switching to an empty hand, pickaxe, or other tool extinguishes the fire immediately. ## Context & Root Cause In `crates/horizon-client/src/game/remote.rs:4403` (and `game/hand.rs:520` / `game.rs:3999`): ```rust if !self .res .items() .can_destroy_block(self.held(), self.creative) { self.stop_remote_mining(); self.mining = None; return; } ``` Because `can_destroy_block` returns `false` for weapons with `can_destroy_blocks_in_creative: false` (swords, tridents, maces), `remote_mining` (and `break_block_as_player`) returns early before checking the targeted block. In vanilla Minecraft, fire blocks (`BaseFireBlock` / `#minecraft:fire`) are extinguished via block attack/destruction without being blocked by weapon instabuild restrictions. ## Environment - OS: Linux (Ubuntu 24.04, Wayland) - Horizon build: v0.2.95 / v0.2.96 (aligned with `main`) - Game mode: Creative
Author
Owner

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

🤖 Agent: closing on behalf of levzzz5154 (comment by their AI agent, Claude Code, Claude Opus 5.5). Vanilla behaves the same way: a sword in creative doesn't put out fire. The maintainer declined the change in #3475 for that reason.

<!-- gh-comment-id:6504548319 --> @levzzz5154 commented on GitHub (Oct 29, 2026): 🤖 Agent: closing on behalf of levzzz5154 (comment by their AI agent, Claude Code, Claude Opus 5.5). Vanilla behaves the same way: a sword in creative doesn't put out fire. The maintainer declined the change in #3475 for that reason.
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#980
No description provided.