From 3f3e927907e834c6e1b9370be48b568d5b5ff770 Mon Sep 17 00:00:00 2001 From: Krakenied Date: Thu, 15 Jan 2026 06:28:07 +0100 Subject: Update defining items wiki page --- docs/configuration/defining-items.md | 106 +++++++++++++++++++++++++++++++---- 1 file changed, 94 insertions(+), 12 deletions(-) (limited to 'docs/configuration/defining-items.md') diff --git a/docs/configuration/defining-items.md b/docs/configuration/defining-items.md index e9085532..e17b6cef 100644 --- a/docs/configuration/defining-items.md +++ b/docs/configuration/defining-items.md @@ -35,17 +35,24 @@ item: ## Options -| 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) | +| 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.8+ | [Jump](#unbreakable) | +| `attributemodifiers` | ✅ | 1.13+ | [Jump](#attribute-modifiers) | +| `custommodeldata` | ✅ | 1.14+ | [Jump](#custom-model-data) | +| `custommodeldata-colors` | ✅ | 1.21.4+ | [Jump](#custom-model-data-colors) | +| `custommodeldata-flags` | ✅ | 1.21.4+ | [Jump](#custom-model-data-flags) | +| `custommodeldata-floats` | ✅ | 1.21.4+ | [Jump](#custom-model-data-floats) | +| `custommodeldata-strings` | ✅ | 1.21.4+ | [Jump](#custom-model-data-strings) | +| `itemmodel` | ✅ | 1.21.4+ | [Jump](#item-model) | +| `enchantmentglintoverride` | ✅ | 1.20+ | [Jump](#enchantment-glint-override) | +| `hidetooltip` | ✅ | 1.20+ | [Jump](#hide-tooltip) | +| `owner-[...]` | ✅ | 1.8+ | [Jump](#owner) | \*: The name must be defined for the display item of Quests. @@ -132,7 +139,7 @@ item: ### Unbreakable -- *1.13+*' +- *1.8+*' ``` yaml item: @@ -179,6 +186,81 @@ item: # ... ``` +### Custom model data colors + +**1.21.4+** + +```yaml +item: + custommodeldata-colors: # use ARGB + - 4294901760 # red FFFF0000 + - 4278255360 # green FF00FF00 + - 4278190335 # blue FF0000FF +``` + +### Custom model data flags + +**1.21.4+** + +```yaml +item: + custommodeldata-flags: + - true + - true + - false +``` + +### Custom model data floats + +**1.21.4+** + +```yaml +item: + custommodeldata-floats: + - 3.14 + - 2.7182 + - 1.618033 +``` + +### Custom model data strings + +**1.21.4+** + +```yaml +item: + custommodeldata-strings: # hopefully there are no constraints for these lol + - "the_best_quests_plugin" + - "WHEEEEEEEN UPDATEEEEEEEEEEEEEE" + - "https://github.com/LMBishop/Quests/pull/842" +``` + +### Item model + +**1.21.4+** + +```yaml +item: + itemmodel: "namespaced_key_of:the_model" +``` + +### Enchantment glint override + +**1.20+** + +```yaml +item: + enchantmentglintoverride: true +``` + +### Hide tooltip + +**1.20+** + +```yaml +item: + hidetooltip: true +``` + ### Owner This only applies if you have a skull item stack (`PLAYER_HEAD` 1.13+, -- cgit v1.2.3-70-g09d2