# “Buck Buckets” 格式

## 一、介绍

“Buck Bucket” 格式是本插件使用的一种方块id格式，它可以填写在地皮参数里（即地皮区域的填充方块、地板方块等，位于 `worlds.yml` 文件内）.

它可以使您填写这些方块id时不再拘泥于一种，这意味着您可以为地皮区域的填充方块、地板方块等设置多个方块，让地皮世界的颜色不再那么单调.

举个例子：

* `stone,grass_block,cobblestone,sandstone` - 这意味着这四个方块等比例分布（即 stone、grass\_block、cobblestone、sandstone 四种方块）.
* `stone:50,grass_block:30,sandstone:20` - 这意味着有 50% 为 stone 方块，有 30% 为 grass\_block 方块、有 20% 为 sandstone 方块.

你可以通过它实现生成如下效果的地皮：

![](/files/a74SMZjlj0tfRbEkSVqU)

## 二、格式

```
namespace:block[property1=value1,property2=value2]
```

其中：

* namespace:block 填写方块id. 如果是原版方块，填写 `minecraft:方块id` 即可；如果是其他模组的方块，填写 `模组名称:方块id` 即可.
* \[property=value] 为可选部分，按照此格式填写即可. 这部分代表方块状态参数，你可以在 [**Minecraft Wiki**](https://minecraft.fandom.com/zh/wiki/%E6%96%B9%E5%9D%97%E7%8A%B6%E6%80%81) 找到相关内容的介绍.

例如：

`minecraft:grass_block[snowy=false]`

如果您安装了创世神插件，那么插件支持更加复杂的格式，详见：

* [FAWE Patterns](https://intellectualsites.github.io/fastasyncworldedit-documentation/patterns/patterns)
* [WorldEdit Patterns](https://worldedit.enginehub.org/en/latest/usage/general/patterns/)

## 三、禁用方块

如果想在上面的 Patterns 中禁用某些方块，请在 `plugins/WorldEdit/config.yml` 或者 `plugins/FastAsyncWorldEdit/worldedit-config.yml` 文件中找到 `disallowed-blocks` 选项.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.superiormc.cn/plotsquared-wiki/bu-chong/buck-buckets-ge-shi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
