> For the complete documentation index, see [llms.txt](https://itemsadder.devs.beer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://itemsadder.devs.beer/japanese/plugin-usage/adding-content/other-items-examples/custom-arrows.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://itemsadder.devs.beer/japanese/plugin-usage/adding-content/other-items-examples/custom-arrows.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
