From 7a2a45691068db51ba4e7dc851f44a17f545f0ae Mon Sep 17 00:00:00 2001
From: LMBishop <13875753+LMBishop@users.noreply.github.com>
Date: Thu, 6 Jul 2023 13:57:32 +0100
Subject: Fix wiki links
---
docs/configuration/defining-items.md | 51 ++++++++++++++++++------------------
1 file changed, 26 insertions(+), 25 deletions(-)
(limited to 'docs/configuration/defining-items.md')
diff --git a/docs/configuration/defining-items.md b/docs/configuration/defining-items.md
index fddec792..a32bb689 100644
--- a/docs/configuration/defining-items.md
+++ b/docs/configuration/defining-items.md
@@ -35,17 +35,17 @@ item:
## Options
-| Field | Optional | Minecraft Version | More Information |
-|----------------------|-----------------|-------------------|-----------------------------------------|
-| `item` | ❌ | \- | [Jump](#item "wikilink") |
-| `name` | ✅ \* | \- | [Jump](#name "wikilink") |
-| `lore` | ✅ | \- | [Jump](#lore "wikilink") |
-| `enchantments` | ✅ | \- | [Jump](#enchantments "wikilink") |
-| `itemflags` | ✅ | 1.8+ | [Jump](#item-flags "wikilink") |
-| `unbreakable` | ✅ | 1.13+ | [Jump](#unbreakable "wikilink") |
-| `attributemodifiers` | ✅ | 1.13+ | [Jump](#attribute-modifiers "wikilink") |
-| `custommodeldata` | ✅ | 1.14+ | [Jump](#custom-model-data "wikilink") |
-| `owner-[...]` | ✅ | 1.8+ | [Jump](#owner "wikilink") |
+| Field | Optional | Minecraft Version | More Information |
+|----------------------|-----------------|-------------------|------------------------------|
+| `item` | ❌ | \- | [Jump](#item) |
+| `name` | ✅ \* | \- | [Jump](#name) |
+| `lore` | ✅ | \- | [Jump](#lore) |
+| `enchantments` | ✅ | \- | [Jump](#enchantments) |
+| `itemflags` | ✅ | 1.8+ | [Jump](#item-flags) |
+| `unbreakable` | ✅ | 1.13+ | [Jump](#unbreakable) |
+| `attributemodifiers` | ✅ | 1.13+ | [Jump](#attribute-modifiers) |
+| `custommodeldata` | ✅ | 1.14+ | [Jump](#custom-model-data) |
+| `owner-[...]` | ✅ | 1.8+ | [Jump](#owner) |
\*: The name must be defined for the display item of Quests.
@@ -65,7 +65,7 @@ the end with a colon `:`.
``` yaml
item:
item: "WHEAT"
- ...
+ # ...
```
### Name
@@ -79,7 +79,7 @@ above the hotbar when selected.
``` yaml
item:
name: "&2&lSuper Cool Name"
- ...
+ # ...
```
### Lore
@@ -95,7 +95,7 @@ item:
lore:
- "Line 1"
- "Line 2"
- ...
+ # ...
```
### Enchantments
@@ -114,7 +114,7 @@ names](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantm
item:
enchantments:
- "minecraft:infinity:1"
- ...
+ # ...
```
### Item flags
@@ -127,7 +127,7 @@ javadocs](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/ItemFlag
item:
itemflags:
- "HIDE_ATTRIBUTES"
- ...
+ # ...
```
### Unbreakable
@@ -137,7 +137,7 @@ item:
``` yaml
item:
unbreakable: true
- ...
+ # ...
```
### Attribute modifiers
@@ -166,7 +166,7 @@ item:
operation: ADD_NUMBER
amount: 0.01
equipmentslot: OFF_HAND
- ...
+ # ...
```
### Custom model data
@@ -176,7 +176,7 @@ item:
``` yaml
item:
custommodeldata: 12345
- ...
+ # ...
```
### Owner
@@ -201,19 +201,19 @@ You can specify each type by the following:
``` yaml
item:
owner-base64: "base64 encoded string"
- ...
+ # ...
```
``` yaml
item:
owner-username: "username"
- ...
+ # ...
```
``` yaml
item:
owner-uuid: "uuid"
- ...
+ # ...
```
## Quest items
@@ -239,7 +239,9 @@ run `/q a items import `, where `` is the desired name of the
item. Your item will be saved to file items/\.yml, **with the type
'raw**'.
-
+
+
+
### Defining items
@@ -250,8 +252,7 @@ items/ directory. You must specify a `type` and the item itself under
#### Defined
**Defined quest items** are regular ItemStacks and follow the format
-defined under [§ Configurable
-options](Defined_items#Configurable_options "wikilink").
+defined under [§ options](#options).
items/testitem.yml
--
cgit v1.2.3-70-g09d2