# Iris

## [此处下载](https://www.spigotmc.org/resources/iris-world-gen-custom-biome-colors.84586/)

## 启用兼容

### 第一步

下载 [ItemsAdderBlocksInjector](https://www.spigotmc.org/resources/itemsadderblocksinjector.102078/), <mark style="color:red;">安装后请勿删除！</mark>

### 第二步

创建你的 Iris 世界（依据插件教程），使用 ItemsAdder 自定义 ID， 就像原版方块一样。

\
例如打开 `overworld` 中的 `plugins\Iris\packs\overworld\biomes\mountain\mountain.json`

然后编辑 layers 部分中的设置以添加自定义方块，本例为自定义的 **Amethyst Block**：

```json
"layers": [
    {
        "minHeight": 1,
        "maxPerChunk": 21,
        "maxHeight": 80,
        "minPerChunk": 7,
        "minSize": 3,
        "maxSize": 7,
        "palette": [{ "block": "iasurvival:cassiterite_ore" }],
        "varience": 7
    },
```

这会得到与此类似的结果:

![](/files/vPoKBoMX5h9EU73tCDUo)

![](/files/12NXhOHEWp3HOl4dvscO)

## 兼容问题

* FastAsyncWorldEdit 会停止工作，我什么都做不到。
* WorldEdit 的 `//undo` 与 `//copy` 不会对 `Iris` 放置的自定义方块生效，他们会变回 `NOTE_BLOCK` （或 `mushroom`, `TRIPWIRE`, `CHORUS_PLANT`）


---

# 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://itemsadder.devs.beer/chinese/compatibility-with-other-plugins/compatible/iris.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.
