Skip to content

Make exp generated when devouring blocks with dragon rods 使龙杖吞噬方块时正常产生经验 #3427

Merged
Gu-ZT merged 1 commit intoAnvil-Dev:dev/1.21/1.6from
QiuShui1012:dragon_rod/1.21/1.6
Apr 22, 2026
Merged

Make exp generated when devouring blocks with dragon rods 使龙杖吞噬方块时正常产生经验 #3427
Gu-ZT merged 1 commit intoAnvil-Dev:dev/1.21/1.6from
QiuShui1012:dragon_rod/1.21/1.6

Conversation

@QiuShui1012
Copy link
Copy Markdown
Contributor

Copilot AI review requested due to automatic review settings April 21, 2026 21:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses issue #3411 by ensuring that blocks devoured via the Dragon Rod correctly generate experience and that the experience is granted directly to the player (instead of spawning XP orbs), aligning Dragon Rod behavior with normal mining expectations.

Changes:

  • Compute block XP drops during Dragon Rod devour and apply enchantment-based XP processing.
  • Grant the resulting XP directly to the player when not in instabuild/creative-like mode.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Gu-ZT Gu-ZT merged commit 0181a72 into Anvil-Dev:dev/1.21/1.6 Apr 22, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] 让龙杖吞噬宝石矿时正常产生经验

3 participants