> For the complete documentation index, see [llms.txt](https://mobs.advancedplugins.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mobs.advancedplugins.net/advancedmobs/mechanics/build-mobs-with-blocks.md).

# Build Mobs With Blocks

## How do block patterns work?

Building mobs with block patterns mimics the vanilla feature where Withers, Iron golems or snowmans can be built. Players must make a specific pattern for a mob to spawn - the block pattern disappears. Best explained by this gif:

<figure><img src="/files/VygROSexucyBwS06TRkf" alt=""><figcaption></figcaption></figure>

## How to customize / make your own patterns?

You will need to do this all inside `plugins/AdvancedMobs/bosses` folder. If you are customizing an already available pattern, find the file named same as the mob you want to change, otherwise, create a new file called `<mob name>.yml`, example: `Wyvern.yml`

We're going to be customizing a default pattern of Wyvern mob. The inside of file looks like this:

{% code title="plugins/AdvancedMobs/bosses/Wyvern.yml" overflow="wrap" lineNumbers="true" %}

```yaml
# Boss Configuration file for Wyvern

# How to build Wyvern boss
build:
  pattern:
    - ' e '
    - 'idi'
    - ' d '
  materials:
    e: ENCHANTING_TABLE
    i: IRON_BLOCK
    d: REINFORCED_DEEPSLATE
```

{% endcode %}

Patterns are very simple to understand. Use empty space    to act as an AIR block, otherwise specify material names below the pattern list. As an example, in our file, `e` means ENCHANTING\_TABLE.&#x20;

Here is a visual representation of how this pattern looks:

<figure><img src="/files/jbOIVDUYDq4ybLNm46WT" alt=""><figcaption></figcaption></figure>

Because there's 3 lines, and 3 materials in each line, this is a 3x3 pattern. A very basic 2D pattern. You can have as many lines in height or width as you want.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://mobs.advancedplugins.net/advancedmobs/mechanics/build-mobs-with-blocks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
