Skip to content

Add opt-in VeinMining for connected ores - #95

Draft
BenCodez wants to merge 5 commits into
masterfrom
feature/vein-mining
Draft

BenCodez wants to merge 5 commits into
masterfrom
feature/vein-mining

Conversation

@BenCodez

@BenCodez BenCodez commented Dec 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add opt-in VeinMining for face-connected ore in Survival. Each perk can set its ore and tool lists, block count, and search distance.
  • Extend only a confirmed ore break with a suitable tool. Extra breaks use the native player API for protection checks, drops, enchantments, and durability.
  • Skip tracked placed blocks and unloaded chunks, avoid recursive area mining, and stop stale work on tool, perk, session, world, or reload changes.
  • Document activation and configuration in the README. This replacement for Add bounded VeinMining with durable usage charges #87 targets master directly and uses the existing owner scheduler.

Verification

  • Clean Maven package passed all 64 tests, including 24 VeinMining cases.
  • Verified the shaded MCPerks JAR and the required API signatures in the published Spigot 1.17 API.
  • Independent source review approved the exact head. Native runtime acceptance on Paper and Spigot is pending.

@coderabbitai

coderabbitai Bot commented Dec 3, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4d0b02c0-cbad-420f-ae1f-8cfdd2315b80
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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.

1 participant