# Throwables

You can create custom throwable items!\
They will act like Snowballs, Ender Eyes or Ender Pearl

## throwables.yml

This is the file where all custom throwables behaviour and config are stored

### Example throwable:

```yaml
granade:
  enabled: true
  permission: granade
  model_id: 1
  vanilla_type: SNOWBALL #throwable type
  name: '&fGranade'
  events:
    throw: #when you throw the snowball
      play_effect: SMOKE
    hit_ground:
      explode: 2 # spawns an explosion of size: 2
  craft_recipe:
    enabled: true
    amount: 4
    pattern:
      - XSX
      - PTP
      - XPX
    ingredients:
      S: STRING
      T: TNT
      P: plastic_plate
```


---

# 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://lonedev.gitbook.io/itemsadder/specific-items/throwables.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.
