# Items constructor

Here you can configure items that will drop when certain mobs break or when creatures are killed.

First, indicate the ID that will be used further. For example -> diamond.

**All fields below are not required.**

Item. Enter any Minecraft material in UPPER\_CASE -> Material: 'DIAMOND'

Name. The title of the item that will be displayed.

Lore. The lore of the item that will be displayed.

Enchantments. Item enchantments. LOWERCASE. Check example below. You can find it here <https://minecraft.fandom.com/wiki/Knockback> (ID -> Java Edition) and on this website for another enchantments

Attributes. Item attributes. Check example below.

Hide tags. Hide attributes, enchants and another tags below item lore.

Custom model data. Item custom model data to show custom texture.

Drops from mobs. From which mobs this item will be dropped. UPPER\_CASE.

Drops from blocks. From which blocks this item will be dropped. UPPER\_CASE.

{% code fullWidth="true" %}

```yaml
diamond:
  Item: 'DIAMOND'
  Name: '&bDiamond'
  Lore: []
  Enchantments:
    knockback: 1
  Attributes:
    - Name: GENERIC_MOVEMENT_SPEED
      Value: 0.2
  Hide tags: true
  Custom model data: 0
  Drops from mobs:
    ZOMBIE: 10.0
  Drops from blocks:
    DIAMOND_ORE: 30.0
```

{% endcode %}


---

# 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://shimado.gitbook.io/relics-plugin/items-constructor.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.
