Use "Brick" to open VeinMiner Menu UI (For MOBILE - Hold Longer, For PC - Right Click)
If there's any bugs, just comment..
Features:
Core Vein Mining Mechanics
- Smart Vein Mining: Breaks connected blocks of the same type recursively.
- Gap Jumping (Loose Vein): Detects and mines blocks even if they are diagonally separated or slightly disconnected (checks a 5x5 area around every block).
- Smart Compatibility:
- Connects Deepslate Ores ↔ Normal Ores.
- Connects Lit Redstone ↔ Normal Redstone.
- Connects Stripped Logs ↔ Normal Logs.
- Massive Radius: Configurable mining radius from 8 up to 1024 blocks.
- Recursive Logic: Mining spreads from the break point in all directions (up, down, sideways).
Modes & Visuals
- Instant Break: Option to mine the entire vein instantly in one tick (performance heavy).
- Delayed "Pop" Mining: Option to mine blocks one-by-one with a 0.5-second delay and "Pop" sound effects (satisfying visual effect).
- Ores Checker HUD: When holding a Pickaxe and looking at an ore, an ActionBar appears showing:
- The Block Namespace ID.
- The total count of connected blocks in that vein.
- Instantly hides when looking away.
Drops & Durability
- Magnetic Mode: Teleports all mined Items and XP Orbs directly to the player's body (configurable per player).
- Pile Drops: If Magnetic is off, items teleport to the original block location.
- Durability System:
- Tools take damage for every block mined.
- Fully supports Unbreaking Enchantment logic (chance to ignore damage).
- Tools break and are removed from inventory when durability reaches zero.
Tools & Categories
- Supported Categories:
- Pickaxes: Ores (Coal, Iron, Diamond, Netherite, Copper, etc.).
- Axes: Logs (Oak, Birch, Cherry, Pale Oak, Mangrove, etc.).
- Hoes: Sculk and Moss blocks.
- Excluded: Shovels (Sand/Gravel) were removed to prevent server crashes caused by falling block physics in large veins.
- Custom Support: Automatically detects custom items ending in `_pickaxe`, `_axe`, `_hoe`, or `_paxel`.
Multiplayer & Permissions
- Global Settings (Admin Only):
- Master Switch to enable/disable VeinMiner for the whole server.
- Configure Max Radius, Cooldown, Sneaking Requirement, and Mining Speed.
- Secured via Operator check or `admin` tag.
- Self Settings (Player):
- Personal Toggle (ON/OFF).
- Personal Magnetic Toggle (ON/OFF).
- Emergency Tools:
- Stop VeinMines: Instantly halts all active mining loops on the server.
- Clear Drops: Options to delete all item entities globally or within a small radius around the player.
User Interface (UI)
- Trigger Item: Use (Right-Click/Hold) an Brick to open the menu.
- Menu Features:
- Visual Icons for buttons.
- List Editor: Admins can add or remove blocks/tools from the whitelist in-game.
- Statistics: Tracks personal stats for Ores Mined, Logs Cut, and Sculk/Moss Removed.
- Credits & Info: Displays feature list and credits within the game.
- Radius Slider: Color-coded slider (Green to Red) for selecting radius size.
(This addon is 100% made by AI)

