# Material / Entity Type Quest

In order to add a material or an entity to a quest, please add the name in the `required_targets:` section of the quest.\
\
For example:&#x20;

```
quest_type: FISH
required_amount: 10 
required_targets:
  - COD
```

In this example, we've seen that the Quest Type "FISH" need a valid entity type as a target. So `COD`, being a valid entity type, will work. Still in this example, in order to finish the quest, the player will need to fish 10 Cod.\
\
You can also put multiple targets for the same quest:&#x20;

```
quest_type: BREAK
required_amount: 50
required_targets:
  - GOLD_ORE
  - DEEPSLATE_GOLD_ORE
```

In this example, the player will need to break 50 blocks of either `GOLD_ORE` or `DEEPSLATE_GOLD_ORE` (can be 25/25 each or 10/40 or 20/30 etc...)\
\
Here you can find a list of all valid material: [https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html)\
\
Here you can find a list of all valid entities type:\
[https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html)
