[⚠️]注意! 如果您在使用该插件时遇到任何问题,请在我们的 Discord 频道中报告!
? VeinMiner 插件
? 描述:
VeinMiner 是一款适用于 Paper 1.21+ 的 Minecraft 插件,新增了一种名为“矿脉矿工”(Vein Miner)的附魔。此附魔允许你通过单次点击自动开采整条矿脉!
它是如何工作的?
当你手持带有“矿脉矿工”附魔的镐子挖掘矿石方块时(需按住 Shift),插件会自动查找并开采半径内最多 64 格范围内所有相连的同类型矿石方块。
✨ 功能特性
- ⛏️ 自动矿脉开采 - 一键开采整条矿脉
- ? 仅对矿石生效 - 对其他方块安全无害
- ? 自定义附魔 - 通过数据包添加
- ? 工具耐久度 - 每开采一个方块,镐子会消耗一点耐久度
- ⚡ 需要按住 Shift - 控制附魔的使用时机
? 使用方法
-
步骤 1:获取附魔书
/veinminer
你将获得一本附有“矿脉矿工 I”的附魔书
-
步骤 2:将附魔应用到镐子上
打开铁砧
将你的镐子放入第一个槽位
将附魔书放入第二个槽位
取出附魔后的镐子
-
步骤 3:开采矿脉
手持附魔镐子
按住 Shift(潜行)
挖掘一个矿石方块
? 整条矿脉将被开采!
⛏️ 支持的矿石
该插件支持所有类型的矿石:
主世界 (Overworld):
- ? 煤炭 (Coal Ore, Deepslate Coal Ore)
- ⚙️ 铁矿 (Iron Ore, Deepslate Iron Ore)
- ? 金矿 (Gold Ore, Deepslate Gold Ore)
- ? 钻石矿 (Diamond Ore, Deepslate Diamond Ore)
- ? 绿宝石矿 (Emerald Ore, Deepslate Emerald Ore)
- ? 青金石矿 (Lapis Ore, Deepslate Lapis Ore)
- ? 红石矿 (Redstone Ore, Deepslate Redstone Ore)
- ? 铜矿 (Copper Ore, Deepslate Copper Ore)
下界 (Nether):
- ? 下界金矿 (Nether Gold Ore)
- s⚪ 石英矿 (Nether Quartz Ore)
? 安装指南
要求:
安装步骤:
- 下载 VeinMiner-2.0.jar
- 将其放入 plugins/ 文件夹
- 启动服务器
- 插件将自动在 world/datapacks/veinminer/ 创建数据包
- 重启服务器或使用 /reload confirm 命令
验证安装:
- /datapack list
- 列表中应显示 [file/veinminer]
? 命令
- 命令描述权限/veinminer给予一本附魔书,包含“矿脉矿工”附魔veinminer.use
? 权限
- 权限描述默认值veinminer.use允许使用 /veinminer 命令OP
⚙️ 机制说明
矿脉开采:
- 插件搜索所有相邻的同类型矿石方块
- 一次最多开采 64 个方块
- 仅检查 6 个方向(上、下、左、右、前、后)
工具耐久度:
- 每开采一个方块,镐子消耗 1 点耐久度
- 如果镐子损坏,它将从手中消失
- 你会听到物品破碎的声音
激活条件:
- ✅ 玩家按住 Shift
- ✅ 手持带有“矿脉矿工”附魔的镐子
- ✅ 正在挖掘的方块是矿石
[⚠️]NOTE! If u have aby issue with the plugin please report to in our discord!
? VeinMiner Plugin
? Description:
VeinMiner is a Minecraft plugin for Paper 1.21+ that adds a new enchantment called Vein Miner. This enchantment allows you to automatically mine entire ore veins with a single hit!
How does it work?
When you mine an ore block with a pickaxe enchanted with Vein Miner (while holding Shift), the plugin automatically finds and mines all connected blocks of the same ore type within a radius of up to 64 blocks.
✨ Features
- ⛏️ Automatic vein mining - mine entire veins with one click
- ? Works only on ores - safe for other blocks
- ? Custom enchantment - added via datapack
- ? Tool durability - pickaxe loses durability for each mined block
- ⚡ Requires Shift - control when you use the enchantment
? How to Use
-
Step 1: Get the enchanted book
/veinminer
You will receive an enchanted book with Vein Miner I
-
Step 2: Apply enchantment to pickaxe
Open an anvil
Place your pickaxe in the first slot
Place the enchanted book in the second slot
Take the enchanted pickaxe
-
Step 3: Mining veins
Hold the enchanted pickaxe in your hand
Hold Shift (sneak)
Mine an ore block
? The entire vein will be mined!
⛏️ Supported Ores
The plugin works on all ore types:
Overworld:
- ? Coal (Coal Ore, Deepslate Coal Ore)
- ⚙️ Iron (Iron Ore, Deepslate Iron Ore)
- ? Gold (Gold Ore, Deepslate Gold Ore)
- ? Diamond (Diamond Ore, Deepslate Diamond Ore)
- ? Emerald (Emerald Ore, Deepslate Emerald Ore)
- ? Lapis (Lapis Ore, Deepslate Lapis Ore)
- ? Redstone (Redstone Ore, Deepslate Redstone Ore)
- ? Copper (Copper Ore, Deepslate Copper Ore)
Nether:
- ? Nether Gold (Nether Gold Ore)
- s⚪ Quartz (Nether Quartz Ore)
? Installation
Requirements:
- Paper 1.21 or newer
- Java 21
Installation Steps:
- Download VeinMiner-2.0.jar
- Place it in the plugins/ folder
- Start the server
- The plugin will automatically create a datapack in world/datapacks/veinminer/
- Restart the server or use /reload confirm
Verify Installation:
- /datapack list
- You should see [file/veinminer] in the list
? Commands
- CommandDescriptionPermission/veinminerGives an enchanted book with Vein Minerveinminer.use
? Permissions
- PermissionDescriptionDefaultveinminer.useAllows use of /veinminer commandOP
⚙️ Mechanics
Vein Mining:
- The plugin searches for all adjacent blocks of the same ore type
- Maximum 64 blocks at once
- Checks only 6 directions (up, down, left, right, front, back)
Tool Durability:
- The pickaxe loses 1 durability for each mined block
- If the pickaxe breaks, it disappears from your hand
- You hear the item breaking sound
Activation Conditions:
- ✅ Player is holding Shift
- ✅ Holding a pickaxe with Vein Miner enchantment
- ✅ Mining block is an ore
评论 0
登录后参与评分
还没有评论,来抢沙发吧