Changes
Page history
Update Items
authored
Jul 05, 2023
by
Amy
Show whitespace changes
Inline
Side-by-side
Items/Items.md
View page @
0c473141
...
@@ -44,14 +44,7 @@ example_item:
...
@@ -44,14 +44,7 @@ example_item:
Display
:
<green>An Example Item</green>
Display
:
<green>An Example Item</green>
```
```
#### Group
Sets the group the item is in for
`/mm items browse`
.
```
yml
example_item
:
Id
:
leather_chestplate
Display
:
<green>An Example Item</green>
Group
:
'
Armor'
```
#### 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#>`
.
...
@@ -82,6 +75,15 @@ example_item:
...
@@ -82,6 +75,15 @@ example_item:
Model
:
12345
Model
:
12345
```
```
#### **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.
```
yml
example_item
:
Id
:
diamond_sword
Durability
:
100
Display
:
<green>An Example Item</green>
```
#### **Attributes**
#### **Attributes**
Special field that allows the addition of item attributes to certain armor slots. See
[
Item Attributes
](
/Items/Attributes
)
.
Special field that allows the addition of item attributes to certain armor slots. See
[
Item Attributes
](
/Items/Attributes
)
.
```
yml
```
yml
...
@@ -113,24 +115,6 @@ example_item:
...
@@ -113,24 +115,6 @@ example_item:
Color
:
255,0,0
Color
:
255,0,0
```
```
<!-- SEE ITEM OPTIONS
#### **Durability**:
Sets the durability of the item.
```
yml
example_item
:
Id
:
leather_chestplate
Data
:
0
Display
:
<green>An Example Item</green>
Model
:
12345
Attributes
:
Chest
:
Health
:
25
Amount
:
1
Options
:
Color
:
255,0,0
```
-->
#### **Enchantments**
#### **Enchantments**
Any items can have any enchantments(s).
Any items can have any enchantments(s).
A list of available enchantments can be found
[
here
](
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
)
.
A list of available enchantments can be found
[
here
](
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
)
.
...
@@ -210,6 +194,15 @@ MyCoolStick:
...
@@ -210,6 +194,15 @@ MyCoolStick:
-
obsidian
-
obsidian
```
```
#### Group
Sets the group the item is in for
`/mm items browse`
.
```
yml
example_item
:
Id
:
leather_chestplate
Display
:
<green>An Example Item</green>
Group
:
'
Armor'
```
### **NBT**
### **NBT**
Sets what NBT tags to put on your items.
Sets what NBT tags to put on your items.
This allows cross-over with a lot of other plugins, or just for storing custom information.
This allows cross-over with a lot of other plugins, or just for storing custom information.
...
...
...
...