Copy block(复制方块)

一个允许批量复制和删除方块的mod | A mod that allows for batch copying and deleting of blocks

2,79k

Quick challenge

How far can you run before the mobs catch you?

Copy block(复制方块)

复制方块 是专为建筑玩家和地图开发者设计的实用工具模组,通过简单的方块操作实现复杂的建筑自动化任务。

🌟 核心功能

本模组引入了两种功能性方块及配套逻辑,简化了重复性的建筑工作:

* 20 秒:先放置一个 20 秒 定义区域,在底座上方放置一个模板方块,再别处放置另一个 20 秒 ,游戏将瞬间用该方块填满整个选定区域。 * 20 秒:使用 20 秒 快速清空指定区域内的所有方块,并自动清理掉落物。 * 20 秒:支持强大的撤销(Undo)与重做(Redo)功能。操作错误时可一键恢复,并具备逻辑锁机制防止误触发。 * 20 秒 游戏默认保留 20 秒 的可撤销时间。如果觉得操作时间不够用,可以根据需求自行调整(暂不支持彻底关闭撤销功能)。

🛠️ 合成说明

| 方块名称 | 合成配方预览 | 说明 | | :--- | :--- | :--- | | 区域清理工具: | `[圆石][圆石][圆石]`
`[铁锭][红石粉][铁锭]`
`[圆石][圆石][圆石]` | 区域清理工具:
放置两个以定义区域,
底座上方放置模板即可
瞬间填充整个选定区域。 | | 区域清理工具: | `[圆石][圆石][圆石]`
`[木棒][空槽][木棒]`
`[圆石][圆石][圆石]` | 区域清理工具:
用于快速清空选定区域
内的所有方块,并自动
清理掉落物。 |

⌨️ 快捷键与指令说明

| 功能 | 默认快捷键 / 指令 | 说明 | | :--- | :---: | :--- | | 自定义撤销时长 | `J` | 默认关闭,需手动开启方才激活方块逻辑 | | 自定义撤销时长 | `U` | 默认 自定义撤销时长 内可撤销,单次支持 20 步历史 | | 自定义撤销时长 | `R` | 恢复被撤销的操作 | | 自定义撤销时长 | `K` | 移除世界上所有本模组的底座方块 | | 自定义撤销时长 | `/copyblock undo_timer <sec>` | 调整撤销有效时长(暂不支持彻底关闭) |

> ⚠️ Copy Block 在服务器环境中,若未获得 OP 权限,`/copyblock`命令将无法使用 --- Copy Block is a practical utility mod designed for builders and map creators, enabling complex architectural automation through simple block operations.

🌟 Core Features

This mod introduces two functional blocks and associated logic to simplify repetitive construction tasks:

* Note:: First, place a Note: to define the area. Position a template block above the base, then place another Note: elsewhere. The game will instantly fill the entire selected area with this block. * Note:: Use the Note: to quickly clear all blocks within a specified area and automatically clean up drops. * Note:: Supports powerful Undo and Redo functions. One-click recovery for errors, featuring a logic lock mechanism to prevent accidental triggers. * Note: By default, the game retains a 20-second undo time. If you need more time, you can adjust it in the profile

🛠️ Crafting Recipes

| Item Name | Recipe Preview | Description | | :--- | :--- | :--- | | Cleanup Tool: | `[Cobble][Cobble][Cobble]`
`[Iron][Redstonewire][Iron]`
`[Cobble][Cobble][Cobble]` | Cleanup Tool:
Place two to define area.
Place template on base
to fill the region. | | Cleanup Tool: | `[Cobble][Cobble][Cobble]`
`[ Stick ][ Empty ][ Stick ]`
`[Cobble][Cobble][Cobble]` | Cleanup Tool:
Quickly clears all blocks
in the area and removes
floating item drops. |

---

⌨️ Controls & Commands

| Function | Hotkey / Command | Description | | :--- | :---: | :--- | | Undo Timer | `J` | Disabled by default;
toggle to activate logic | | Undo Timer | `U` | Undo within Undo Timer;
supports 20 steps | | Undo Timer | `R` | Restore the previously
undone action | | Undo Timer | `K` | Remove all mod base
blocks from the world | | Undo Timer | `/copyblock undo_timer <sec>` | Adjust the valid duration
for Undo actions(Complete shutdown is not supported) |

> ⚠️ Note: In a server environment, the `/copyblock` command cannot be used without obtaining OP (Operator) permission.

ADS