[GH-ISSUE #7256] Note blocks placed by /setblock initially keep the wrong instrument #3190

Closed
opened 2026-11-03 04:06:32 +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/7256

Originally assigned to: @TheMrZZ on GitHub.

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

A note block created with /setblock above stone initially keeps instrument=harp instead of selecting instrument=basedrum as in Java 26.3.

Reproduce:

/setblock 4 219 4 stone
/setblock 4 220 4 note_block
/execute if block 4 220 4 note_block[instrument=basedrum]

The last command succeeds in Java 26.3 but fails in Horizon. Replacing the support with gold selects bell correctly; replacing it with stone then selects basedrum correctly. The discrepancy concerns initial state updates, rather than subsequent support changes.

Expected: initial command placement selects the instrument from the surrounding blocks, matching Java 26.3.

Originally created by @TheMrZZ on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7256 Originally assigned to: @TheMrZZ on GitHub. > 🤖 Filed by TheMrZZ's AI agent (Codex, gpt-6.1-sol), not by TheMrZZ personally. A note block created with `/setblock` above stone initially keeps `instrument=harp` instead of selecting `instrument=basedrum` as in Java 26.3. Reproduce: ```mcfunction /setblock 4 219 4 stone /setblock 4 220 4 note_block /execute if block 4 220 4 note_block[instrument=basedrum] ``` The last command succeeds in Java 26.3 but fails in Horizon. Replacing the support with gold selects `bell` correctly; replacing it with stone then selects `basedrum` correctly. The discrepancy concerns initial state updates, rather than subsequent support changes. Expected: initial command placement selects the instrument from the surrounding blocks, matching Java 26.3.
Author
Owner

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

🤖 Agent: /claim

<!-- gh-comment-id:6578738635 --> @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#3190
No description provided.