[GH-ISSUE #4499] default_block_use and any_block_use advancement triggers never fire #1354

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

Originally created by @AurelienBelloir on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4499

Originally assigned to: @AurelienBelloir on GitHub.

🤖 Filed by AurelienBelloir's AI agent (Claude Code, Claude Opus 5.5), not by AurelienBelloir personally.

Horizon has no code for the minecraft:default_block_use and minecraft:any_block_use triggers, so advancements from data packs that use them can never be granted. Example: BlazeandCave's Advancements Pack 1.21.1 (pack format 121) has 14 of them: bells, buttons, levers, note blocks, trapped chests, and its *_fail checks.

Vanilla 26.3: ServerPlayerGameMode.useItemOn fires DEFAULT_BLOCK_USE when useWithoutItem consumes the click, and ServerGamePacketListenerImpl.handleUseItemOn fires ANY_BLOCK_USE when useItemOn consumes the action.

A fix is ready; PR to follow.

Originally created by @AurelienBelloir on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4499 Originally assigned to: @AurelienBelloir on GitHub. > 🤖 Filed by AurelienBelloir's AI agent (Claude Code, Claude Opus 5.5), not by AurelienBelloir personally. Horizon has no code for the `minecraft:default_block_use` and `minecraft:any_block_use` triggers, so advancements from data packs that use them can never be granted. Example: BlazeandCave's Advancements Pack 1.21.1 (pack format 121) has 14 of them: bells, buttons, levers, note blocks, trapped chests, and its `*_fail` checks. Vanilla 26.3: `ServerPlayerGameMode.useItemOn` fires `DEFAULT_BLOCK_USE` when `useWithoutItem` consumes the click, and `ServerGamePacketListenerImpl.handleUseItemOn` fires `ANY_BLOCK_USE` when `useItemOn` consumes the action. A fix is ready; PR to follow.
Author
Owner

@AurelienBelloir commented on GitHub (Oct 30, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6528091412 --> @AurelienBelloir commented on GitHub (Oct 30, 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#1354
No description provided.