
BetterPlace
BetterPlace 是一个 Spigot 插件,旨在 创造一个更好的地方,哈哈 通过为方块添加新的放置行为来增强 Minecraft 中的建造体验。缓解因重复以别扭角度放置方块而带来的一些麻烦。有时方块的放置确实很令人头疼(说的就是你,釉陶)。
虽然 凿子物品 用起来不错,但我认为建造体验还有进一步改进的空间,以减轻一些痛苦。主要是重复性的任务,比如调整位置或为其他方块放置和挖掘支撑方块。
BetterPlace 的目标不是重新实现像凿子这样的其他插件的功能,而是提供与原版良好集成的新功能。功能应当始终简单、易于发现和理解,直观,并且最重要的是,不会妨碍那些不需要它们或还不知道如何使用的玩家。BetterPlace 的主要焦点在于按照需要的方式在世界中放置方块,同时不过于强大,并且仍然坚持 一次一个方块 :)
Features
- Rotation Lock: 灵感来自 Quark。手持可旋转的方块时 Shift+攻击,将方块的放置方向锁定为你当前面对的方向。随后放置的方块会仿佛你仍在看着那个方向一样,因此活塞或中继器会面向你,而楼梯则背向你,就像原版一样。
- Inversion Place: 灵感来自 Create。使用
/bpinvert 开启,然后在放置时潜行以翻转方块。这样活塞或观察者就会背向你。它也适用于旋转锁定或复制的方块状态之上。
- Quick Copy Blockstate: 对某个方块潜行 + 拾取方块(鼠标中键),或者手持相同类型的方块看着该方块并运行
/bpcopy。潜行 + 拾取方块需要 Paper 1.21.4 或更高版本。方块的属性(朝向、上下半块、中继器延迟、比较器模式、音符盒音调等)会被复制,你放置的每种该类型的方块都会获得相同的属性。清除方式与旋转锁定相同。哪些属性可以被复制是可配置的,分为 direction 等选项组,这些选项在所有可旋转的方块上工作方式相同。每个玩家可以通过 /bpstates 选择放置时实际应用哪些选项。
- Glazed Terracotta Preview: 手持釉陶时,会显示一个小范围的发光预览,展示方块将被放置的位置及其旋转角度。尊重旋转锁定、复制的方块状态和翻转功能。只有你能看到它,可通过
/bppreview 选择为哪些内容显示预览。
Configuration
目前,有以下选项可以自定义 BetterPlace:
- blacklist: 你可以在这里排除不受插件功能影响的方块。默认情况下,所有可能以无效状态放置的方块都包含在内。BetterPlace 不支持这些方块,但你仍然可以选择启用它们。
- blacklist-mode:
blacklist(默认)或 whitelist。作为白名单时,功能仅适用于列出的方块。
- inversion.enabled-by-default: 是否对从未使用过
/bpinvert 的玩家默认开启翻转放置。
- copy-blockstate: 允许复制的方块属性,分为
options(在 /bpstates 中每个选项有一个切换开关)。
- preview: 对于从未选择过模式的玩家的预览模式 (
default-mode),预览方块的大小,以及哪些 blocks 拥有预览。
- messages: 插件显示的每段文本,带有
& 颜色代码。
编辑 config.yml 文件以修改这些选项,并使用 /bpreload 应用更改。
Commands
/bpunlock - 如果你有旋转锁定或复制的方块状态,你可以使用此命令移除它们。两者也可以通过取消选择当前物品或空击(不潜行)来禁用,但这只是一个额外的后备措施。击打方块会保留它们。
/bpcopy - 复制你所看向的方块的方块状态。你必须手持相同的方块。
/bpstates - 打开对话框以选择放置时应用的复制方块状态的各部分(方向、上下半块、中继器延迟等)(默认全部开启)。对于没有对话框的服务器(1.21.6 之前),可以使用 /bpstates <option> 切换单个选项。
/bpinvert - 切换你自己的翻转放置功能。
/bppreview <glazed|clipboard|all|none> - 选择放置预览针对什么内容显示。glazed 为 preview.blocks 中的方块显示,clipboard 为手持且应用了你复制的方块状态的方块显示,all 显示两者,none 关闭。不带选项时,会在关闭和开启之间切换。
/bpreload - 重新加载 config.yml。
Permissions
所有权限默认均为 op。
bplace.place.rotated - 需要使用旋转/放置锁定功能。
bplace.place.inverted - 需要使用翻转放置和 /bpinvert。
bplace.place.copy - 需要复制方块状态(/bpcopy,潜行 + 拾取方块)和使用 /bpstates。
bplace.preview - 需要查看放置预览和使用 /bppreview。
bplace.reload - 需要使用 /bpreload。
Support and Issues
如果你遇到任何问题或有疑问,请在 GitLab 仓库 创建 issue。

BetterPlace
BetterPlace is a Spigot plugin that aims to create a better place, lol enhance the building experience in minecraft by adding new placement behaviors to blocks. Alleviating some of the hassles that come with repeated placing of blocks in awkward orientations. Sometimes blocks are just a pain to place (looking at you glazed terracotta).
While a chisel item is all fine and dandy, I felt there could be further improvements made to building that alleviate some pain. Mainly repetitive task of getting into position or placing and mining support blocks for other blocks.
The goal of BetterPlace is not to re-implement functions of other plugins like a chisel, but to provide new features that integrate well with vanilla. Feature should always be simple, easily discoverable and understandable by anyone, intuitive, and most importantly not in the way of someone that does not want them or know how they work yet. The primary focus of BetterPlace is on placing blocks how need them to be in the world while not being totally overpowered and still being one block at a time :)
Features
- Rotation Lock: Inspired by Quark. Shift+Attack with a block (that can be rotated) to lock the blocks placement direction into the direction you are currently facing. Blocks are then placed as if you were still looking that way, so a piston or repeater faces back at you and stairs face away, just like vanilla.
- Inversion Place: Inspired by Create. Turn it on with
/bpinvert, then sneak while placing to turn the block around. So a piston or observer would be facing away from you. Also works on top of a rotation lock or a copied blockstate.
- Quick Copy Blockstate: Sneak + pick block (middle click) on a block, or look at a block while holding the same block and run
/bpcopy. Sneak + pick block needs Paper 1.21.4 or newer. The blocks state (facing, top/bottom half, repeater delay, comparator mode, note block tune, ...) is copied and every block of that type you place gets it too. Cleared just like a rotation lock. Which properties may be copied is configurable, grouped into options like direction that work the same on every block that can be turned. With /bpstates each player can choose which options actually get applied when placing.
- Glazed Terracotta Preview: While holding glazed terracotta a small glowing preview shows where, and how rotated, the block would be placed. Respects rotation lock, copied blockstates and inversion. Only you can see it, choose with
/bppreview what it is shown for.
Configuration
Currently, there are the following options to customize BetterPlace:
- blacklist: You can exclude blocks from the plugins features here. By default, all blocks are included that could potentially be placed in an invalid state. These blocks are not supported by BetterPlace, but you still have the option to enable them anyway.
- blacklist-mode:
blacklist (default) or whitelist. As a whitelist, the features only work on the listed blocks.
- inversion.enabled-by-default: Whether inversion placement is on for players that never used
/bpinvert.
- copy-blockstate: Which block properties may be copied, grouped into
options (one toggle each in /bpstates).
- preview: The preview mode for players that never chose one (
default-mode), the size of the preview block, and which blocks get a preview.
- messages: Every text the plugin shows, with
& color codes.
Edit the config.yml file to modify these options and apply them with /bpreload.
Commands
/bpunlock - If you have a rotation lock or copied blockstate you can remove it with this command. Both are also disabled by deselecting the current item or punching air (without sneaking) but this is just an extra fallback. Punching a block keeps them.
/bpcopy - Copy the blockstate of the block you are looking at. You have to hold the same block.
/bpstates - Opens a dialog to choose which parts of a copied blockstate (direction, top/bottom, repeater delay, ...) get applied when you place (all are on by default). /bpstates <option> toggles a single one, for servers without dialogs (before 1.21.6).
/bpinvert - Toggle inversion placement for yourself.
/bppreview <glazed|clipboard|all|none> - Choose what the placement preview is shown for. glazed shows it for the blocks in preview.blocks, clipboard shows the held block with your copied blockstate applied, all shows both, none turns it off. Without an option it switches between off and on.
/bpreload - Reload the config.yml.
Permissions
All permissions default to op.
bplace.place.rotated - Required to use the rotation/placement lock feature.
bplace.place.inverted - Required to use inversion placement and /bpinvert.
bplace.place.copy - Required to copy blockstates (/bpcopy, sneak + pick block) and use /bpstates.
bplace.preview - Required to see the placement preview and use /bppreview.
bplace.reload - Required to use /bpreload.
Support and Issues
If you encounter any issues or have questions, please create an issue on the GitLab repository.
评论 0
登录后参与评分
还没有评论,来抢沙发吧