← Назад к ресурсам

Copy block(复制方块)

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

Modrinth game-mechanics utility

Описание

**复制方块** 是专为建筑玩家和地图开发者设计的实用工具模组,通过简单的方块操作实现复杂的建筑自动化任务。 ### 🌟 核心功能 本模组引入了两种功能性方块及配套逻辑,简化了重复性的建筑工作: * **区域填充模式**:先放置一个 **复制方块** 定义区域,在底座上方放置一个模板方块,再别处放置另一个 **复制方块** ,游戏将瞬间用该方块填满整个选定区域。 * **区域删除方块**:使用 **删除方块** 快速清空指定区域内的所有方块,并自动清理掉落物。 * **历史回溯系统**:支持**撤销**与**重做**功能。操作错误时可一键恢复,并具备逻辑锁机制防止误触发。 * **注:** 游戏默认保留 **20 秒** 的可撤销时间。如果觉得操作时间不够用,可以根据需求自行调整。 ### 🛠️ 合成说明 | 方块名称 | 合成配方预览 | 说明 | | :--- | :--- | :--- | | **复制方块** | `[圆石][圆石][圆石]``[铁锭][红石粉][铁锭]``[圆石][圆石][圆石]` | **核心功能方块:**放置两个以定义区域,底座上方放置模板即可瞬间填充整个选定区域。 | | **删除方块** | `[圆石][圆石][圆石]``[木棒][空槽][木棒]``[圆石][圆石][圆石]` | **区域清理工具:**用于快速清空选定区域内的所有方块,并自动清理掉落物。 | ### ⌨️ 快捷键与指令说明 | 功能 | 默认快捷键 / 指令 | 说明 | | :--- | :---: | :--- | | **开启/关闭模组** | `J` | 默认关闭,需手动开启方才激活方块逻辑 | | **撤销上一步** | `U` | 默认 **20秒** 内可撤销,单次支持 20 步历史 | | **重做上一步** | `R` | 恢复被撤销的操作 | | **一键清理底座** | `K` | 移除世界上所有本模组的底座方块 | | **自定义撤销时长** | `/copyblock undo_timer ` | 调整撤销有效时长(暂不支持彻底关闭) | > ⚠️ **注意:** 在服务器环境中,若未获得 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: * **Area Fill Mode**: First, place a **Cloning Block** to define the area. Position a template block above the base, then place another **Cloning Block** elsewhere. The game will instantly fill the entire selected area with this block. * **Area Delete Block**: Use the **Delete Block** to quickly clear all blocks within a specified area and automatically clean up drops. * **History System**: 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 | | :--- | :--- | :--- | | **Copy Block** | `[Cobble][Cobble][Cobble]``[Iron][Redstonewire][Iron]``[Cobble][Cobble][Cobble]` | **Core Utility:**Place two to define area.Place template on baseto fill the region. | | **Delete Block** | `[Cobble][Cobble][Cobble]``[ Stick ][ Empty ][ Stick ]``[Cobble][Cobble][Cobble]` | **Cleanup Tool:**Quickly clears all blocksin the area and removesfloating item drops. | --- ### ⌨️ Controls & Commands | Function | Hotkey / Command | Description | | :--- | :---: | :--- | | **Enable/Disable** | `J` | Disabled by default;toggle to activate logic | | **Undo** | `U` | Undo within **20s**;supports 20 steps | | **Redo** | `R` | Restore the previouslyundone action | | **Clear Bases** | `K` | Remove all mod baseblocks from the world | | **Undo Timer** | `/copyblock undo_timer ` | Adjust the valid durationfor Undo actions(Complete shutdown is not supported) | > ⚠️ **Note:** In a server environment, the `/copyblock` command cannot be used without obtaining OP (Operator) permission.