> For the complete documentation index, see [llms.txt](https://nightexpress.gitbook.io/lootconomy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nightexpress.gitbook.io/lootconomy/features/objective-action-types.md).

# 🔨 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.
