零配置,易于使用的基于长方体的操作。支持复制/粘贴和填充。
简介
如果你没有 WorldEdit 这样的工具,只是想要一种快速、简单的方式来处理与长方体相关的事情,那么这就是你正在寻找的插件!我喜欢轻量级的插件,它们只提供我需要的功能,不多也不少。在找不到合适的解决方案后,我自己制作了这个插件。QuickCuboid 提供了几种不同的“模式”,让你可以用任何可放置的材料填充长方体,并复制、旋转和粘贴长方体区域。
如果你不知道什么是长方体(cuboid),它是一个在游戏中包含方块的想象立方体。你知道在 MS Word 中如何通过在一个位置点击,按住 Shift 键并在另一个位置点击来选择文本吗?这个插件的想法是一样的。只不过这里选择的是方块而不是文本。另外,没有高亮显示。抱歉。我们需要修改你的客户端才能实现这一点。
使用烈焰棒来选定长方体的角落并标记位置。
一如既往,我欢迎所有建议! :D
功能
- 所有命令都在选定长方体或标记位置之前输入。
- 一旦完成选择或标记,操作就会立即执行。
- 模式是持久的。如果你重新开始选择,插件会假设你想做同样的事情。
- 撤销/重做(一级历史记录)
- 剪贴板
选择
你必须手持烈焰棒并且拥有使用插件的权限。通过右键点击方块来进行选择。
完整选择
大多数操作都需要完整的选择。事实上,唯一不需要完整选择的模式是“粘贴”。要创建一个完整的选择,请在你的世界中想象一个长方体。用烈焰棒右键点击其中一个角落的方块。然后右键点击完全对角的另一个角落的方块。这样你就选中了一个长方体,QuickCuboid 会立即施展它的魔力!如果不小心开始了选择,你可以输入 /cuboid cancel 来取消选择。
部分选择 / 位置标记
目前,“粘贴”是唯一需要单个位置的模式。这很容易做到。只需右键点击一个方块即可。继续阅读以了解你需要选择哪个方块。
命令
- 更改模式
/cuboid fill - 切换到填充模式(默认)
/cuboid copy - 切换到复制模式
/cuboid paste - 切换到粘贴模式
/cuboid off - 关闭 QuickCuboid
- 剪贴板修改
/cuboid rotate - 将剪贴板顺时针旋转 90 度
- 历史记录
/cuboid undo - 撤销上一次的长方体操作
/cuboid redo - 重做上一次的长方体操作
- 其他
/cuboid cancel - 取消已开始的选择
/cuboid mode - 查看当前所在模式
模式
填充
这需要完整的选择。选择完第二个方块后,QuickCuboid 会查看第一个方块并用该材料填充长方体。小技巧:如果在选择第二个方块之前破坏了第一个方块,插件会用空气填充长方体(因为第一个方块的位置将是空气)。
复制
这需要完整的选择。一旦选择完第二个方块,长方体会被复制到你的剪贴板中。重要:你选择的第一个方块很重要。记住它与长方体其余内容的关系。这个方块是“参考方块”。把它想象成你抓住长方体的把手。阅读“粘贴”模式以了解我的意思。
粘贴
这只需要部分选择。你选择的方块将被替换为剪贴板中方长方体的“参考方块”(想象中的把手)。起初这可能看起来很令人困惑,但只需尝试几次就可以了。其实很简单。
关闭
我不确定这是否需要解释。当长方体功能关闭时,QuickCuboid 会忽略你用烈焰棒点击的任何东西。
剪贴板修改
旋转
这将使剪贴板中的长方体顺时针旋转 90 度。这不需要任何选择,也不会对世界产生任何影响。你只有在粘贴时才会看到效果。
历史记录
只有一级历史记录。这意味着你只能连续撤销一次,也只能连续重做一次。这个功能简直是救命稻草。我曾经不小心用工作台填满了我的房子,几乎吓得尖叫。但一个简单的 /cuboid undo 让一切再次变得美好。
其他
取消
如果你不小心选择了一个方块,可能会让人感到担忧。此命令可以取消已开始的选择。当然,这只适用于当前模式需要完整选择的情况。如果模式只需要部分选择,你仍然可以使用 /cuboid undo 来逆转可能造成的损害。
模式
如果你忘记了,使用此命令查看你当前的模式。很简单!
配置
只有一个配置选项:debug。将其设置为 true 可以在控制台中看到各种信息。它可能有助于你找出为什么 QuickCuboid 对你不起作用的原因。
文件中对每个选项都有解释,但这里有一个概述:
权限
quickcuboid.use - 可以使用插件的玩家
版本信息:
计划
一如既往,我欢迎任何建议!:D
最新版本
喜欢我的作品吗?点击链接,请我喝杯饮料吧! :D
Zero configuration, easy to use cuboid based operations. Copy/paste and fill.
Summary
If you don't have something like WorldEdit and you just want a quick, easy way to do cuboid related things, this is the plugin you're looking for! I like lightweight plugins that offer exactly what I need and nothing else. Unable to find a good solution, I made my own plugin. QuickCuboid offers a few different "modes" so you can fill cuboids with any material you can place and copy, rotate, and paste cuboid areas.
If you don't know what a cuboid is, it's an imaginary cube containing blocks in the game. You know how you can select text MS Word by clicking in one place, holding shift, and clicking somewhere else? Well, it's the same idea with this plugin. Instead of selecting text, you're selecting blocks. Also, there's is no highlighting. Sorry. We'd have to mod your client to do that.
Use a blaze rod to select the corners of cuboids and mark locations.
As always, I'm open to any and all suggestions! :D
Features
- All commands are typed before selecting a cuboid or marking a location.
- Operations happen as soon as you finish selecting or marking.
- Modes are persistent. If you start selecting again, the plugin assumes you want to do the same thing again.
- Undo/Redo (one level of history)
- Clipboard
- Copy/Paste
- Rotate 90° clockwise
Selections
You must be holding a blaze rod and have permission to use the plugin. Make your selections by right clicking blocks.
Full Selection
This is needed for most operations. In fact, the only mode that doesn't require a full selection is "paste." To make a full selection, imagine the cuboid in your world. Right-click a block in one of the corners with a blaze rod. Then right-click the block in the complete opposite corner. There, you've selected a cuboid and QuickCuboid will immediately do it's magic! If you accidentally start a selection, you can type /cuboid cancel to cancel the selection.
Partial Selection / Location Marking
Right now, "paste" is the only mode that needs a single location. It's easy to do. Just right-click one block with a blaze rod. Read on to find out which block you need to select.
Commands
- Change Mode
/cuboid fill - Change to fill mode (default)
/cuboid copy - Change to copy mode
/cuboid paste - Change to paste mode
/cuboid off - Turn off QuickCuboid
- Clipboard Modification
/cuboid rotate - Rotate clipboard 90 degrees CW
- History
/cuboid undo - Undo the last cuboid operation
/cuboid redo - Redo the last cuboid operation
- Other
/cuboid cancel - Cancel a selection that you started
/cuboid mode - See which mode you're in
Modes
Fill
This requires a full selection. After you select the second block, QuickCuboid will look at the first block and fill the cuboid with that material. Pro tip: if you break the first block before selecting the second block, the plugin will fill the cuboid with air (because the first block would contain air).
Copy
This requires a full selection. As soon as you select the second block, the cuboid will be copied to your clipboard. Important: The first block you selected is important. Remember it's relationship the rest of the contents of the cuboid. This block is the "reference block." Think of it as the handle that you grab the cuboid by. Read about the "paste" mode to see what I mean.
Paste
This only requires a partial selection. The block that you select will be replaced with the "reference block" (imaginary handle) of the cuboid in your clipboard. This may seem completely confusing at first, but just try it out a few times. It's pretty simple.
Off
I'm not sure this needs to be explained. With cuboid turned off, QuickCuboid will ignore any thing you click with a blaze rod.
Clipboard Modifications
Rotate
This will rotate the cuboid in your clipboard clockwise by 90 degrees. This requires no selections, and it doesn't do anything to the world. You won't actually see the effect until you paste.
History
There is only one level of history. This means you can only undo once in a row, and you can only redo once in a row. This feature is a lifesaver. I have accidentally filled my house with workbenches and nearly screamed in terror. But a simple /cuboid undo makes life happy again.
Other
Cancel
It may be a little concerning if you accidentally select a block. This command will cancel a selection that you have started. Of course this is only applicable if your current mode requires a full selection. If the mode only requires a partial selection, you can still use /cuboid undo to reverse the damage that you may have caused.
Mode
If you forgot, use this command to see what mode you're in. Simple!
Configuration
There is only one config option: debug. Set it to true to see all kinds of information in the console. It may help you figure out why QuickCuboid isn't working for you.
There are explanations in the file for each option, but here's an overview:
Permissions
quickcuboid.use - Players who can use the plugin
Version Stuff:
Plans
- Allow copy/paste across worlds
- and of course we need a perms node for this
As always, I'm open to any and all suggestions! :D
Latest Release
Like my work? Click the link, buy me a drink! :D
评论 0
登录后参与评分
还没有评论,来抢沙发吧