# 📚Example: Ender Crystal Totem

## Config

```yaml
mode: 'HORIZONTAL'
layouts:
  1:
    - 'AAAAA'
    - 'AAAAA'
    - 'AABAA'
    - 'AAAAA'
    - 'AAAAA'
  2:
    - 'CCCCC'
    - 'CCCCC'
    - 'CCCCC'
    - 'CCCCC'
    - 'CCCCC'
explains:
  A: 'minecraft:end_stone'
  B: 'minecraft:obsidian'
  C: 'minecraft:diamond_block'
actions:
  1:
    type: message
    message: 'Hello!'
  2:
    type: mythicmobs_spawn
    entity: SkeletalKnight'
conditions: []
# Core block means what block player should place ender crystal on.
core-blocks:
  - B
disappear: true

# Can also be:
#mode: 'HORIZONTAL'
#layouts:
#  1:
#    - 'CCDCC'
#    - 'CCCCC'
#    - 'DCCCD'
#    - 'CCCCC'
#    - 'CCDCC'
#  2:
#    - 'CCBCC'
#    - 'CCCCC'
#    - 'BCCCB'
#    - 'CCCCC'
#    - 'CCBCC'
#explains:
#  A: 'none'
#  B: 'minecraft:obsidian'
#  C: 'none'
#  D: 'minecraft:ENDER_CRYSTAL'
#
```

## Info

We use `trigger` condition to make this totem can only be active when player place ender crystal onto a block, and `core-blocks` option and can help us make this totem can only actived when player place ender crystal onto this block.


---

# 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://mythictotem.superiormc.cn/totems/example-ender-crystal-totem.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.
