Structure Block Tools
此数据包为玩家提供了多种编辑结构方块边界框内容的方法,专为创建自定义结构数据包而设计!
使用方法
- 手持烈焰棒右键点击任意处于“保存”模式的结构方块以选中该方块。此操作的有效范围为10个方块(因此,如果你使用了属性来增加交互范围,可能需要靠近一些)
- 选中方块后,输入以下任一命令即可对选中的结构方块的边界框应用更改。无需手动计算
/fill命令所需的数值等信息。 - 如果你在结构方块界面中移动或缩放了边界框,相关命令也会相应更新
- 编辑完成后,使用下方列出的命令取消选中结构方块
完整的使用说明视频可在此处查看 [HERE]
命令列表
首次安装此数据包时建议运行的命令:
/gamerule commandModificationBlockLimit 110592
(这是结构边界框的最大可能体积)
选中结构方块 - 站在结构方块上方运行此命令
/function sbtools:select_structure_block
(也可以直接使用烈焰棒右键点击该方块来实现)
取消选中当前结构方块
/function sbtools:deselect_structure_block
所有“填充”命令将直接应用于所选结构方块的整个边界框,无需进行数值输入
动态填充 (Dynamic Fill) - 行为类似于像素画程序中的“油漆桶”。函数的原点(通常是玩家站立的位置)将作为起始点。默认情况下,dynamic_fill_voids 和 dynamic_fill_water 仅替换空气。
/function sbtools:dynamic_fill_voids
/function sbtools:dynamic_fill_water
/function sbtools:dynamic_fill {fill:"[要填充的方块]",replace:"[要替换的方块]"}
替换填充 (Replace Fill) - 在边界框内将所有指定的一种方块替换为另一种方块
/function sbtools:replace_fill_voids
/function sbtools:replace_fill_water
/function sbtools:replace_fill {fill:"[要填充的方块]",replace:"[要替换的方块]"}
完全填充 (Total Fill) - 使用指定方块完全填充边界框
/function sbtools:total_fill_air
/function sbtools:total_fill_voids
/function sbtools:total_fill_water
/function sbtools:total_fill {fill:"[要填充的方块]"}
注意:在宏中使用 fill 和 replace 参数时,方块状态 {fill:"minecraft:oak_log[axis=y]"} 是有效的;对于 replace,方块标签 {replace:"#minecraft:logs"} 也是有效的!
请勿运行任何以 sbtools:util/... 开头的命令,因为这些是“底层”函数,由玩家执行可能会导致问题。
更多详情请参阅 PlanetMinecraft Page
Structure Block Tools
This datapack gives the player several ways to edit the contents of a Structure Block bounding box, designed to be used when creating custom structure datapacks!
How to Use
- Right-click any Structure Block (in Save mode) using a Blaze Rod to select that block. This works up to a range of 10 blocks (so if you've used attributes to boost your interaction range, you may need to get closer)
- With the block selected, type any of the commands below to apply changes to the selected Structure Block's bounding box. No need to calculate the numbers for /fill commands and stuff like that.
- Commands will update accordingly if you use the Structure Block UI to move/rescale the bounding box
- When you're done editing, deselect the Structure Block with the command listed below
A full video explaining how to use the datapack can be found HERE
COMMANDS
Recommended command to run when you first install the datapack:
/gamerule commandModificationBlockLimit 110592
(this is the max possible volume of a structure bounding box)
Select Structure Block - Run this command while standing on top of the structure block
/function sbtools:select_structure_block
(this can also be accomplished by just right-clicking the block with a Blaze Rod)
Deselect Current Structure Block
/function sbtools:deselect_structure_block
All "Fill" commands will apply to the selected structure block's entire bounding box without the need for numerical input
Dynamic Fill - Acts a bit like the "Paint Bucket" in pixel art programs. The function's origin (usually the location where the player is standing) will be the starting point. dynamic_fill_voids and dynamic_fill_water replace only air by default.
/function sbtools:dynamic_fill_voids
/function sbtools:dynamic_fill_water
/function sbtools:dynamic_fill {fill:"[block to fill]",replace:"[block to replace]"}
Replace Fill - Replaces all instances of one block with another inside the bounding box
/function sbtools:replace_fill_voids
/function sbtools:replace_fill_water
/function sbtools:replace_fill {fill:"[block to fill]",replace:"[block to replace]"}
Total Fill - Completely fills the bounding box with the specified block
/function sbtools:total_fill_air
/function sbtools:total_fill_voids
/function sbtools:total_fill_water
/function sbtools:total_fill {fill:"[block to fill]"}
Note that for the fill and replace parameters in macros, block states {fill:"minecraft:oak_log[axis=y]"} do work, and for replace, block tags {replace:"#minecraft:logs"} also work!
DO NOT run any of the commands that begin with sbtools:util/..., as these are "under-the-hood" functions and may break things if executed by a player.
Read more on the PlanetMinecraft Page
下载 Structure Block Tools
下载 Structure Block Tools
下载 Structure Block Tools
下载 Structure Block Tools
下载 Structure Block Tools
下载 Structure Block Tools
下载 Structure Block Tools
下载 Structure Block Tools
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Structure Block Tools
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Structure Block Tools
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
数据包
此数据包添加了属于阿瓦里海盗的独特结构,将他们的独特风格带入你的 Minecraft 世界!兼容性:1.20 至 26.3
数据包
一个 Minecraft 光线投射库,能够精确检测玩家正在查看的方块,包括像台阶和楼梯这样的特殊方块形状。
数据包
此数据包添加了新的“祝福模式”难度。
数据包
允许服务器管理员方便地禁用 Xaero's Map 系列模组中的实体雷达、小地图等功能,使竞技游戏更加公平。
数据包
手持潜影盒时可直接打开,无需将其放置在地面上。只需按住 Shift 并右键点击即可访问你的潜影盒。
数据包
为你的 Minecraft 世界添加了超过 900 个新的进度
评论 0
登录后参与评分
还没有评论,来抢沙发吧