- 版权类型
- 原创
- 插件中文名称
- 建筑重放
- 插件英文名称
- Reblock
- 原帖地址
- #
- 支持的核心(服务端)
- Paper
- Purpur
- Leaves
- 其他核心
- 语言支持
- 中文(简体)
- 前置组件
- FastAsyncWorldEdit 或 WorldEdit
- 适配版本(Java)
- 1.21
[MD]
### 插件简介
- 一个基于 WorldEdit 的 Schem 原理图动画放置插件,可以用于建筑演示或视频录制等场景。
- 如果使用中遇到问题,可以加入官方群 **1104261361** 进行反馈。
---
### 插件优势
- 支持指定世界、坐标、速度和放置模式
- 支持任务队列与编号管理
- 支持强制中断指定任务
- 支持原理图预览模式
- 支持配置文件自定义提示文本、预览粒子、动画粒子与音效
- 高效的反馈响应速度
---
### 指令权限
命令
| 命令 | 说明 |
|---|---|
| `/reblock stop <编号>` | 强制中断指定编号的放置任务 |
| `/reblock list` | 查看当前正在运行的任务 |
| `/reblock preview <schem> <x> <y> <z> <world>` | 生成原理图预览 |
| `/reblock preview cancel` | 取消当前预览 |
| `/reblock reload` | 重新加载配置文件 |
| `/reblock help` | 查看帮助 |
权限
| 权限 | 默认值 | 说明 |
|---|---|---|
| `reblock.use` | `op` | 使用放置、预览、列表、停止等基础命令 |
| `reblock.reload` | `op` | 使用 `/reblock reload` |
放置模式
| 模式 | 说明 |
|---|---|
| `bottom_up` | 从下到上逐层建造 |
| `top_down` | 从上到下放置 |
| `center_out` | 从中心向外扩散 |
| `outside_in` | 从外向内收缩 |
| `random` | 随机放置 |
| `spiral` | 螺旋向外 |
| `snake` | 蛇形折返 |
| `wave` | 波浪式扩散 |
| `diagonal` | 对角线推进 |
| `columns` | 按列放置 |
| `checkerboard` | 棋盘格顺序 |
| `vertical_slice` | 垂直切片推进 |
| `instant` | 瞬间完成,无动画 |
---
### 动图预览
使用 SM 图床,部分地区可能无法显示



---
### 原理图位置
插件会自动尝试在以下目录查找 `.schem` 文件:
- `plugins/FastAsyncWorldEdit/schematics/`
- `plugins/WorldEdit/schematics/`
---
### 配置文件
```yaml
# 基础设置
settings:
# 默认放置速度(方块/tick)
default-speed: 4
# 速度限制
min-speed: 1
max-speed: 500
# 预览设置
preview:
# 预览持续时间(秒)
duration: 30
# 粒子刷新间隔(tick)
refresh-interval: 5
# 四角垂直柱颜色
corner-color: [0, 255, 255]
# 边框颜色
border-color: [255, 255, 0]
# 粒子大小
size: 1.0
# 动画设置
animation:
# 粒子效果
particle:
# 是否启用
enabled: true
# 粒子名称
type: "SMOKE"
# 每隔多少个方块触发一次
interval: 3
# 粒子偏移范围
offset: 0.15
# 每次生成的粒子数量
count: 2
# 放置音效
sound:
# 是否启用
enabled: true
# 音效名称
type: "BLOCK_STONE_PLACE"
# 音量
volume: 0.3
# 音调
pitch: 1.0
# 每隔多少个方块触发一次
interval: 10
# 提示文本
messages:
prefix: "<gradient:#ffd014:#ffb914>[RB]</gradient><gray> "
usage-place: "正确命令: <white>/reblock <schem> <x> <y> <z> <world> [速度] [模式]"
usage-place-alt: "<gray>或: <white>/reblock place <schem> <x> <y> <z> <world> [速度] [模式]"
usage-preview: "正确命令: <white>/reblock preview <schem> <x> <y> <z> <world>"
usage-preview-cancel: "正确命令: <white>/reblock preview cancel"
usage-stop: "正确命令: <white>/reblock stop <编号>"
invalid-coords: "坐标必须是整数"
invalid-speed: "速度必须是整数"
speed-range: "速度必须在 <white>{min} <gray>到 <white>{max} <gray>之间"
invalid-task-id: "编号必须是整数"
invalid-mode: "未知的放置模式,使用默认模式"
world-not-found: "世界 <white>{world} <gray>不存在"
schem-not-found: "找不到原理图文件: <white>{schem}"
invalid-format: "无法识别原理图格式"
load-failed: "读取原理图失败: <white>{error}"
task-created: "任务 <white>#{id} <gray>已创建"
task-info: "原理图: <white>{schem} <dark_gray>| <gray>方块数: <white>{blocks} <dark_gray>| <gray>速度: <white>{speed} <gray>方块/tick <dark_gray>| <gray>模式: <white>{mode}"
task-stopped: "任务 <white>#{id} <gray>已强制中断"
task-not-found: "找不到任务 <white>#{id}"
task-completed: "任务 <white>#{id} <gray>已完成,共放置 <white>{blocks} <gray>个方块"
no-tasks: "当前没有正在进行的放置任务"
active-tasks-header: "正在进行的放置任务:"
task-list-format: "<white>#{id} <dark_gray>| <white>{placed}/{total} <gray>({percent}%) <dark_gray>| <white>{world}"
preview-started: "预览已生成,持续 <white>{duration} <gray>秒"
preview-range: "范围: <white>{min}~{max}"
preview-cancel: "使用 /reblock preview cancel 取消预览"
preview-cancelled: "预览已取消"
preview-none: "当前没有活跃的预览"
instant-complete: "瞬间放置完成,共 <white>{blocks} <gray>个方块"
reload-success: "配置已重新加载"
# 帮助
help-header: "指令帮助"
help-place: "<white>/reblock <schem> <x> <y> <z> <world> [速度] [模式]"
help-place-desc: "<dark_gray>- <gray>在指定位置动画放置原理图"
help-preview: "<white>/reblock preview <schem> <x> <y> <z> <world>"
help-preview-desc: "<dark_gray>- <gray>生成持续 {duration} 秒原理图粒子轮廓预览"
help-preview-cancel: "<white>/reblock preview cancel"
help-preview-cancel-desc: "<dark_gray>- <gray>取消当前预览"
help-stop: "<white>/reblock stop <编号>"
help-stop-desc: "<dark_gray>- <gray>强制中断指定编号的放置任务"
help-list: "<white>/reblock list"
help-list-desc: "<dark_gray>- <gray>列出所有正在进行的放置任务"
help-reload: "<white>/reblock reload"
help-reload-desc: "<dark_gray>- <gray>重新加载配置文件"
help-help: "<white>/reblock help"
help-help-desc: "<dark_gray>- <gray>显示此帮助"
help-mode-header: "可用放置模式"
help-mode-format: " <white>{name} <dark_gray>- <white>{display} <dark_gray>| <gray>{desc}"
```
[/MD]