?️ Construction Wand
本文档由 AI 生成(未经审核)
一款灵感源自 Forge 模组 Construction Wand 的 Minecraft 服务器插件。允许玩家快速延伸方块放置,大幅提升建筑效率!
✨ 特性
- ? 五种建设之杖 - 石质、铁质、钻石质、下界合金质、无限
- ? 智能延伸放置 - 右键点击方块表面,自动延伸同种方块的放置
- ?️ 实时预览 - 粒子效果显示方块将放置的位置
- ? 自定义预览 - 可调整预览颜色和模式(全填充/角点/轮廓)
- ⚡ 附魔系统 - “建筑延伸”附魔可增加最大方块放置数量
- ? 多语言支持 - 简体中文、繁体中文、英文、文言文
- ?️ 区域保护兼容 - 支持 WorldGuard、Residence、GriefPrevention 等
- ? Folia 支持 - 完全兼容 Folia 服务器
- ? 资源包支持 - 自定义法杖纹理(支持 1.14-1.21.4+)
? 法杖类型
| 法杖 |
最大方块数 |
耐久度 |
基础材料 |
| 石质建设之杖 |
9 |
131 |
石镐 |
| 铁质建设之杖 |
27 |
250 |
铁镐 |
| 钻石建设之杖 |
128 |
1561 |
钻石镐 |
| 下界合金建设之杖 |
256 |
2031 |
下界合金镐 |
| 无限建设之杖 |
1024 |
∞ |
下界之星 |
? 安装
- 下载最新插件 JAR 文件
- 将 JAR 文件放入服务器的
plugins 文件夹
- 重启服务器
- (可选)安装资源包以获取自定义纹理
资源包安装
将 CWResourcepack 文件夹打包为 ZIP 文件,然后:
- 单人游戏/客户端:放入
.minecraft/resourcepacks 文件夹
- 服务器:上传至网络并设置
server.properties 中的 resource-pack URL
? 使用方法
基本用法
- 通过合成或命令获得建设之杖
- 手持建设之杖
- 确保背包中有要放置的方块
- 右键点击一个方块表面
- 法杖将自动延伸放置同种方块
合成配方
所有法杖均遵循相同的合成模式:
空槽 空槽 [材料]
空槽 [木棍] 空槽
[木棍] 空槽 空槽
| 法杖 |
材料 |
核心 |
| 石质 |
圆石 |
石镐 |
| 铁质 |
铁锭 |
铁镐 |
| 钻石 |
钻石 |
钻石镐 |
| 下界合金 |
下界合金锭 |
下界合金镐 |
| 无限 |
下界之星 |
下界之星 |
? 命令
主命令:/constructionwand(别名:/cw、/wand)
| 命令 |
描述 |
权限 |
/cw help |
显示帮助信息 |
无 |
/cw list |
列出所有法杖类型 |
无 |
/cw preview |
切换预览模式 |
constructionwand.preview |
/cw gui |
打开设置 GUI |
constructionwand.settings |
/cw give <type> [player] |
给予法杖 |
constructionwand.give |
/cw itemgui |
打开物品获取 GUI |
constructionwand.itemgui |
/cw enchant <enchantment> <level> |
附魔法杖 |
constructionwand.enchant |
/cw lang <language> |
切换语言 |
constructionwand.lang |
/cw reload |
重载配置 |
constructionwand.reload |
/cw nbtdebug |
调试 NBT 信息 |
constructionwand.nbtdebug |
? 权限
玩家权限(默认:启用)
| 权限 |
描述 |
constructionwand.use |
允许使用建设之杖 |
constructionwand.use.stone |
允许使用石质建设之杖 |
constructionwand.use.iron |
允许使用铁质建设之杖 |
constructionwand.use.diamond |
允许使用钻石建设之杖 |
constructionwand.use.netherite |
允许使用下界合金建设之杖 |
constructionwand.use.infinity |
允许使用无限建设之杖 |
constructionwand.preview |
允许切换预览模式 |
constructionwand.settings |
允许打开设置 GUI |
管理员权限(默认:OP)
| 权限 |
描述 |
constructionwand.give |
允许给予法杖 |
constructionwand.itemgui |
允许打开物品获取 GUI |
constructionwand.enchant |
允许使用附魔命令 |
constructionwand.lang |
允许切换服务器语言 |
constructionwand.reload |
允许重载配置 |
constructionwand.nbtdebug |
允许使用 NBT 调试 |
constructionwand.bypass |
绕过区域保护检查 |
权限组
| 权限组 |
描述 |
constructionwand.player |
包含所有玩家权限 |
constructionwand.admin |
包含所有权限 |
⚔️ 附魔系统
建筑延伸 (Building Extension)
增加法杖的最大方块放置数量。
| 等级 |
加成 |
| I |
+15% |
| II |
+30% |
| III |
+50% |
| IV |
+75% |
| V |
+100% |
获取方式:
- 使用
/cw enchant building_extension <level> 命令
- 在附魔台上附魔建设之杖(随机等级 1-5)
⚙️ 配置
config.yml
# 语言设置
language: "en_US" # 选项:zh_CN, zh_TW, en_US, lzh
# 预览设置
preview:
# 粒子颜色
particle-color: "RED" # RED, GREEN, BLUE, YELLOW, ORANGE, PURPLE, WHITE, AQUA, LIME 或 #RRGGBB
# 预览模式
mode: "full" # full, corners, outline
# 区域保护设置
protection:
use-event-check: true
use-worldguard: true
# 法杖设置(自定义每种法杖的属性)
wands:
stone:
enabled: true
max-blocks: 9
durability: 131
# ... 其他法杖配置
附魔配置 (enchant/building_extension.yml)
enabled: true
max-level: 10
levels:
1: 0.15
2: 0.30
3: 0.50
4: 0.75
5: 1.00
# ... 更高等级
default-increment: 0.15
? 多语言支持
支持的语言:
zh_CN - 简体中文
zh_TW - 繁体中文
en_US - 英语
lzh - 文言文
使用 /cw lang <language_code> 切换语言。
? 兼容性
服务端软件
- Spigot 1.16+
- Paper 1.16+
- Folia(完全支持)
区域插件
- WorldGuard
- Residence
- GriefPrevention
- Towny
- Lands
- PlotSquared
Minecraft 版本
- 1.16.x - 1.21.4+
- 自动适配 CustomModelData 格式(旧版整数/新版字符串)
? 项目结构
ConstructionWand/
├── src/main/java/org/little100/constructionWand/
│ ├── ConstructionWand.java # 主插件类
│ ├── action/ # 方块放置逻辑
│ ├── command/ # 命令处理
│ ├── enchant/ # 附魔系统
│ ├── gui/ # GUI 界面
│ ├── i18n/ # 国际化
│ ├── listener/ # 事件监听器
│ ├── preview/ # 预览系统
│ ├── protection/ # 区域保护
│ ├── recipe/ # 合成配方
│ ├── utils/ # 工具类
│ └── wand/ # 法杖管理
├── src/main/resources/
│ ├── config.yml # 配置文件
│ ├── plugin.yml # 插件信息
│ ├── enchant/ # 附魔配置
│ └── lang/ # 语言文件
└── CWResourcepack/ # 资源包
?️ 构建
# 克隆仓库
git clone https://github.com/Little100/ConstructionWand_Pugin.git
# 进入目录
cd ConstructionWand_Pugin
# 构建
./gradlew build
# 输出文件位于 build/libs/
? 更新日志
v1.0.0
- 首次发布
- 五种建筑法杖
- 粒子预览系统
- 多语言支持
- 附魔系统
- 区域插件兼容性
- Folia 支持
? 许可证
本项目遵循 GPLv3 许可证 - 详见 LICENSE 文件。
? 致谢
? 错误报告
如果您发现错误或有任何功能建议,请在 GitHub Issues 上提交。
Made with ❤️ by Little_100
GitHub Repository
?️ Construction Wand
This document was generated by AI (not reviewed)
A Minecraft server plugin inspired by the Forge mod Construction Wand. Allows players to quickly extend block placement, greatly improving building efficiency!
✨ Features
- ? Five Construction Wands - Stone, Iron, Diamond, Netherite, Infinity
- ? Smart Extension Placement - Right-click on a block surface to automatically extend placement of the same block
- ?️ Real-time Preview - Particle effects show where blocks will be placed
- ? Customizable Preview - Adjustable preview color and mode (full/corners/outline)
- ⚡ Enchantment System - Building Extension enchantment increases maximum block placement
- ? Multi-language Support - Simplified Chinese, Traditional Chinese, English, Classical Chinese
- ?️ Region Protection Compatible - Supports WorldGuard, Residence, GriefPrevention, etc.
- ? Folia Support - Fully compatible with Folia servers
- ? Resource Pack Support - Custom wand textures (supports 1.14-1.21.4+)
? Wand Types
| Wand |
Max Blocks |
Durability |
Base Material |
| Stone Construction Wand |
9 |
131 |
Stone Pickaxe |
| Iron Construction Wand |
27 |
250 |
Iron Pickaxe |
| Diamond Construction Wand |
128 |
1561 |
Diamond Pickaxe |
| Netherite Construction Wand |
256 |
2031 |
Netherite Pickaxe |
| Infinity Construction Wand |
1024 |
∞ |
Nether Star |
? Installation
- Download the latest plugin JAR file
- Place the JAR file in your server's
plugins folder
- Restart the server
- (Optional) Install the resource pack for custom textures
Resource Pack Installation
Package the CWResourcepack folder as a ZIP file, then:
- Single Player/Client: Place in
.minecraft/resourcepacks folder
- Server: Upload to the web and set the
resource-pack URL in server.properties
? Usage
Basic Usage
- Craft or obtain a construction wand via command
- Hold the construction wand
- Ensure you have the blocks to place in your inventory
- Right-click on a block surface
- The wand will automatically extend placement of the same block
Crafting Recipes
All wands follow the same crafting pattern:
Empty Empty [Material]
Empty [Stick] Empty
[Stick] Empty Empty
| Wand |
Material |
Core |
| Stone |
Cobblestone |
Stone Pickaxe |
| Iron |
Iron Ingot |
Iron Pickaxe |
| Diamond |
Diamond |
Diamond Pickaxe |
| Netherite |
Netherite Ingot |
Netherite Pickaxe |
| Infinity |
Nether Star |
Nether Star |
? Commands
Main command: /constructionwand (aliases: /cw, /wand)
| Command |
Description |
Permission |
/cw help |
Show help information |
None |
/cw list |
List all wand types |
None |
/cw preview |
Toggle preview mode |
constructionwand.preview |
/cw gui |
Open settings GUI |
constructionwand.settings |
/cw give <type> [player] |
Give a wand |
constructionwand.give |
/cw itemgui |
Open item acquisition GUI |
constructionwand.itemgui |
/cw enchant <enchantment> <level> |
Enchant a wand |
constructionwand.enchant |
/cw lang <language> |
Switch language |
constructionwand.lang |
/cw reload |
Reload configuration |
constructionwand.reload |
/cw nbtdebug |
Debug NBT information |
constructionwand.nbtdebug |
? Permissions
Player Permissions (Default: Enabled)
| Permission |
Description |
constructionwand.use |
Allow using construction wands |
constructionwand.use.stone |
Allow using stone construction wand |
constructionwand.use.iron |
Allow using iron construction wand |
constructionwand.use.diamond |
Allow using diamond construction wand |
constructionwand.use.netherite |
Allow using netherite construction wand |
constructionwand.use.infinity |
Allow using infinity construction wand |
constructionwand.preview |
Allow toggling preview mode |
constructionwand.settings |
Allow opening settings GUI |
Admin Permissions (Default: OP)
| Permission |
Description |
constructionwand.give |
Allow giving wands |
constructionwand.itemgui |
Allow opening item acquisition GUI |
constructionwand.enchant |
Allow using enchant command |
constructionwand.lang |
Allow switching server language |
constructionwand.reload |
Allow reloading configuration |
constructionwand.nbtdebug |
Allow using NBT debug |
constructionwand.bypass |
Bypass region protection checks |
Permission Groups
| Permission Group |
Description |
constructionwand.player |
Includes all player permissions |
constructionwand.admin |
Includes all permissions |
⚔️ Enchantment System
Building Extension
Increases the wand's maximum block placement count.
| Level |
Bonus |
| I |
+15% |
| II |
+30% |
| III |
+50% |
| IV |
+75% |
| V |
+100% |
How to Obtain:
- Use
/cw enchant building_extension <level> command
- Enchant construction wands at an enchanting table (random level 1-5)
⚙️ Configuration
config.yml
# Language setting
language: "en_US" # Options: zh_CN, zh_TW, en_US, lzh
# Preview settings
preview:
# Particle color
particle-color: "RED" # RED, GREEN, BLUE, YELLOW, ORANGE, PURPLE, WHITE, AQUA, LIME or #RRGGBB
# Preview mode
mode: "full" # full, corners, outline
# Region protection settings
protection:
use-event-check: true
use-worldguard: true
# Wand settings (customize each wand's properties)
wands:
stone:
enabled: true
max-blocks: 9
durability: 131
# ... other wand configurations
Enchantment Configuration (enchant/building_extension.yml)
enabled: true
max-level: 10
levels:
1: 0.15
2: 0.30
3: 0.50
4: 0.75
5: 1.00
# ... higher levels
default-increment: 0.15
? Multi-language Support
Supported languages:
zh_CN - Simplified Chinese
zh_TW - Traditional Chinese
en_US - English
lzh - Classical Chinese
Use /cw lang <language_code> to switch languages.
? Compatibility
Server Software
- Spigot 1.16+
- Paper 1.16+
- Folia (fully supported)
Region Plugins
- WorldGuard
- Residence
- GriefPrevention
- Towny
- Lands
- PlotSquared
Minecraft Versions
- 1.16.x - 1.21.4+
- Automatically adapts CustomModelData format (legacy integer/new string)
? Project Structure
ConstructionWand/
├── src/main/java/org/little100/constructionWand/
│ ├── ConstructionWand.java # Main plugin class
│ ├── action/ # Block placement logic
│ ├── command/ # Command handling
│ ├── enchant/ # Enchantment system
│ ├── gui/ # GUI interfaces
│ ├── i18n/ # Internationalization
│ ├── listener/ # Event listeners
│ ├── preview/ # Preview system
│ ├── protection/ # Region protection
│ ├── recipe/ # Crafting recipes
│ ├── utils/ # Utility classes
│ └── wand/ # Wand management
├── src/main/resources/
│ ├── config.yml # Configuration file
│ ├── plugin.yml # Plugin information
│ ├── enchant/ # Enchantment configs
│ └── lang/ # Language files
└── CWResourcepack/ # Resource pack
?️ Building
# Clone the repository
git clone https://github.com/Little100/ConstructionWand_Pugin.git
# Enter directory
cd ConstructionWand_Pugin
# Build
./gradlew build
# Output files are in build/libs/
? Changelog
v1.0.0
- Initial release
- Five construction wands
- Particle preview system
- Multi-language support
- Enchantment system
- Region plugin compatibility
- Folia support
? License
This project is licensed under the GPLv3 License - see the LICENSE file for details.
? Acknowledgments
? Bug Reports
If you find a bug or have a feature suggestion, please submit it on GitHub Issues.
Made with ❤️ by Little_100
GitHub Repository
评论 0
登录后参与评分
还没有评论,来抢沙发吧