> For the complete documentation index, see [llms.txt](https://khramcovs-organization.gitbook.io/customworldsystem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://khramcovs-organization.gitbook.io/customworldsystem/modeling/item-creation.md).

# Item creation

## Example: Teleport Bow

{% hint style="warning" %}
If you want an item to have some ability, then the customData field is required!!!
{% endhint %}

{% hint style="info" %}
All fields except stack are optional, but you can add whatever you want for your customization
{% endhint %}

{% code title="items.yml" lineNumbers="true" fullWidth="false" %}

```yaml
items:
  teleport_bow:
    stack: BOW
    name: "§5§lTeleport Bow"
    lore:
      - "§5Teleports you to the arrow"
      - ""
      - "§5§l✧1/4 chance"
    customData: 487334
    flags:
      - HIDE_DESTROYS
      - HIDE_ATTRIBUTES
    enchants:
      1:
        type: ARROW_INFINITE
        level: 1
    attributes:
      1:
        attribute: GENERIC_ATTACK_SPEED
        modifer: generic.attackSpeed
        value: 10


    ability:
      arrow:
          customAb:
            one:
              type: TELEPORT_BOW
              chance: 0.25
```

{% endcode %}

{% hint style="info" %}
The ability field is responsible for the abilities of the item; its settings are described below
{% endhint %}
