# Introduction

![](/files/-M-kx2T8I5y1A_YVD9kp)

### What are actions

Actions are actions that can be added to your life cycle. Actions exist out of 2 lists:

* events
* commands

### How to configure an action

Below you can find a simple example of an action:

```yaml
example-action:
  events:
    - teleport 10 100
  commands:
    - say the mob just teleported! 100
```

In the above example we have an action with both an event and command. Our action says that our entity will teleport somewhere in a radius of **10** blocks at **100%** chance.

Simultaneously, the console will print a message "The mob just teleported!". This message also will always occur as the percentage is also set to **100%**.

### Placeholders for commands

| Placeholder | Description                           |
| ----------- | ------------------------------------- |
| %player%    | placeholder for player name           |
| %world%     | placeholder for the name of the world |

{% hint style="info" %}
For more information about events, click [here](/events/introduction.md)
{% endhint %}


---

# 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://bloodmoon.pseudonova.com/actions/introduction.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.
