... | @@ -26,6 +26,15 @@ The base material to use for your item, it can be any valid material that's list |
... | @@ -26,6 +26,15 @@ The base material to use for your item, it can be any valid material that's list |
|
example_item:
|
|
example_item:
|
|
Id: leather_chestplate
|
|
Id: leather_chestplate
|
|
```
|
|
```
|
|
|
|
|
|
|
|
#### Template
|
|
|
|
Items can use [Templating](/Mobs/Templates) like mobs, while referencing other items.
|
|
|
|
Only one template can be used at a time.
|
|
|
|
```yaml
|
|
|
|
MyItem:
|
|
|
|
Template: MyOtherItem
|
|
|
|
```
|
|
|
|
|
|
<!--
|
|
<!--
|
|
#### **Data**
|
|
#### **Data**
|
|
Used to specify the *used up* durability points on items.
|
|
Used to specify the *used up* durability points on items.
|
... | @@ -44,8 +53,6 @@ example_item: |
... | @@ -44,8 +53,6 @@ example_item: |
|
Display: <green>An Example Item</green>
|
|
Display: <green>An Example Item</green>
|
|
```
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### Lore
|
|
#### Lore
|
|
Sets the lore of the item. You can generate a random number using `{min-max}`, `<random.#to#>`, or `<random.float.#to#>`.
|
|
Sets the lore of the item. You can generate a random number using `{min-max}`, `<random.#to#>`, or `<random.float.#to#>`.
|
|
```yml
|
|
```yml
|
... | @@ -75,7 +82,7 @@ example_item: |
... | @@ -75,7 +82,7 @@ example_item: |
|
Model: 12345
|
|
Model: 12345
|
|
```
|
|
```
|
|
|
|
|
|
#### **Durability**:
|
|
#### Durability
|
|
Sets the amount of durability to take off the item. The below example sets a Diamond Sword to have 1461 durability since by default it has 1561.
|
|
Sets the amount of durability to take off the item. The below example sets a Diamond Sword to have 1461 durability since by default it has 1561.
|
|
```yml
|
|
```yml
|
|
example_item:
|
|
example_item:
|
... | | ... | |