Copy block
ModLicenseRef-All-Rights-Reserved

Copy block

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

39
Downloads
0
Followers
2 months ago
Updated
📦
3
Versions

📖About Copy block

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

🌟 核心功能

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

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

⌨️ 快捷键与指令说明

功能 默认快捷键 / 指令 说明
开启/关闭模组 J 默认关闭,需手动开启方才激活方块逻辑
撤销上一步 (Undo) U 默认 20秒 内可撤销,单次支持 20 步历史
重做上一步 (Redo) R 恢复被撤销的操作
模式切换 M 在“单块填充”与“结构克隆”模式间切换
一键清理底座 K 移除世界上所有本模组的底座方块
自定义撤销时长 /copyblock undo_timer <sec> 调整撤销有效时长并同步至配置(暂不支持关闭)

CopyBlock is a practical utility mod designed for builders and map creators. It simplifies complex architectural tasks through intuitive, block-based automation.

🌟 Features

This mod introduces two functional blocks and a dedicated logic system to streamline your construction workflow:

  • Area Fill Mode: Place two CopyBlocks to define a volume. Placing a template block on top of a pedestal will instantly fill the entire area with that block.
  • Area Delete Block: Use the DeleteBlock to rapidly clear all blocks within a specified region and automatically clean up item drops.
  • Undo & Redo System: Supports operation history for both undo and redo. Revert any mistakes with a single click, featuring a "Logic Lock" mechanism to prevent accidental re-triggering.
    • Note: The mod keeps a 20-second undo window by default. If you need more time, you can adjust this value to suit your needs (disabling this feature is currently not supported).

⌨️ Controls & Commands

Function Default Key / Command Description
Toggle Mod J Enable/Disable logic (Disabled by default)
Undo U Revert actions (Default: 20s window, up to 20 steps)
Redo R Restore a previously reverted action
Switch Mode M Toggle between "Single Block Fill" and "Structure Copy"
Clear Pedestals K Remove all CopyBlock/DeleteBlock pedestals in the world
Set Undo Timer /copyblock undo_timer <sec> Adjust undo expiration and save to config