# 🔨 Objective Action Types

## What is it?

Action types are used in currency objectives, the ones you can edit & create in `/objectives/`  directory.

They defines an action the plugin will listen to to detect if a player completes certain objectives to drop currency item(s).

Every action type has a certain obejct type that is used to parse and validate listed objects:

```yaml
stones:
  Type: block_break # block_break uses Material object type
  # Here we can list only material names then (block & item names).
  Objects:
  - cobblestone # good
  - granite # good
  - mossy_cobblestone # good
  - Mossy Cobblestone # bad, won't work
```

## Actions List

### Material actions

For valid material names press `F3+H` in game and look at inventory item tooltip, or go to [**Minecraft Wiki**](https://minecraft.wiki/w/Java_Edition_data_values) page, click on **Show** of **Blocks** or **Items** table and look at **Resource location** column.

* `block_break` - Player have to break certain blocks.
* `harvest_block` - Player have to harvest certain blocks (berry bushes only).
* `fish_item` - Player have to fish certain item.

### Entity actions

For valid entity names, go to [**Minecraft Wiki**](https://minecraft.wiki/w/Java_Edition_data_values#Entities) page, click on **Show** of **Entities** table and look at **Resource location** column.

* `kill_entity` - Player have to kill certain entity.
* `shoot_entity` - Player have to shoot certain entity by a projectile.
* `shear_entity` - Player have to shear certain entity (sheeps and mooshrooms only).

### MythicMobs actions

Names for mythic mobs are just their config names:

```yaml
tpig: # <=== This one
  Type: PIG
  Display: '&6&lAngry pig'
  Health: 10000000
```

* `kill_mythic_mob` - Player have to kill certain Mythic Mob.


---

# 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://nightexpress.gitbook.io/lootconomy/features/objective-action-types.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.
