# Custom Arrows

## Some examples

```yaml
items:
  iron_arrow:
    display_name: "Iron Arrow"
    permission: arrows.iron_arrow
    resource:
      material: ARROW
      generate: true
      textures:
      - "minecraft:item/spectral_arrow.png"
    events:
      item_hit_entity:
          damage_entity:
            damage: 3
  area_damage_arrow:
    display_name: "Area Damage Arrow"
    permission: arrows.area_damage_arrow
    resource:
      material: ARROW
      generate: true
      textures:
      - "minecraft:item/spectral_arrow.png"
    events:
      item_hit_ground:
          damage_near_entities:
            damage: 6
            radius: 5
          play_effect:
            name: ENDERDRAGON_SHOOT
          play_particle:
            name: EXPLOSION_HUGE
      item_hit_entity:
          damage_near_entities:
            damage: 6
            radius: 5
          play_effect:
            name: ENDERDRAGON_SHOOT
          play_particle:
            name: EXPLOSION_HUGE
  explosive_arrow:
    display_name: "Explosive Arrow"
    permission: arrows.explosive_arrow
    resource:
      material: ARROW
      generate: true
      textures:
      - "minecraft:item/spectral_arrow.png"
    events:
      item_throw:
        play_effect:
          name: SMOKE
      item_hit_ground:
        explosion:
          power: 2
          fire: false
          break_blocks: true
        play_effect:
          name: SMOKE
      item_hit_entity:
        explosion:
          power: 2
          fire: false
          break_blocks: true
        play_effect:
          name: SMOKE
  reveal_invisible_entity_arrow:
    display_name: "Reveal Invisible Entity Arrow"
    permission: arrows.reveal_invisible_entity_arrow
    resource:
      material: ARROW
      generate: true
      textures:
      - "minecraft:item/spectral_arrow.png"
    events:
      item_hit_entity:
          target_remove_potion_effect:
            type: INVISIBILITY
          play_effect:
            name: ENDERDRAGON_SHOOT
```


---

# 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://itemsadder.devs.beer/adding-content/items/other-items-examples/custom-arrows.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.
