From 3b324e88a22a86ceefd53b84ea349d295a0e3f3f Mon Sep 17 00:00:00 2001 From: Kristopher Date: Wed, 3 Jul 2024 14:12:12 +0300 Subject: [PATCH] Added missing features Armor trims, armor pattern, mmoitems, executableitems, executableblocks, placeholders --- .../options-and-configurations/README.md | 3 +++ .../options-and-configurations/item.md | 21 ++++++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/clips-plugins/deluxemenus/options-and-configurations/README.md b/clips-plugins/deluxemenus/options-and-configurations/README.md index 176b914..7d92b84 100644 --- a/clips-plugins/deluxemenus/options-and-configurations/README.md +++ b/clips-plugins/deluxemenus/options-and-configurations/README.md @@ -85,6 +85,9 @@ There is one available placeholder from DeluxeMenus: * `%deluxemenus_meta___%` * `%deluxemenus_meta_has_value__%` +* `%deluxemenus_is_in_menu%` +* `%deluxemenus_opened_menu%` +* `%deluxemenus_last_menu%` ## General options diff --git a/clips-plugins/deluxemenus/options-and-configurations/item.md b/clips-plugins/deluxemenus/options-and-configurations/item.md index fa48fdd..b0db028 100644 --- a/clips-plugins/deluxemenus/options-and-configurations/item.md +++ b/clips-plugins/deluxemenus/options-and-configurations/item.md @@ -34,6 +34,9 @@ Each item will have a name, in this example our item is called **`ItemName`.** T > > * [HeadDatabase](https://www.spigotmc.org/resources/14280/) (`hdb-`). > > * [ItemsAdder](https://www.spigotmc.org/resources/%E2%9C%A8itemsadder%E2%AD%90emotes-mobs-items-armors-hud-gui-emojis-blocks-wings-hats-liquids.73355/) material (`itemsadder-namespace:name`) > > * [Oraxen](https://www.spigotmc.org/resources/72448/) material (`oraxen-oraxen_item_id`) +> > * [ExecutableItems](https://www.spigotmc.org/resources/custom-items-plugin-executable-items.77578/) material (`executableitems-item_id`) +> > * [ExecutableBlocks](https://www.spigotmc.org/resources/custom-blocks-plugin-executable-blocks.93406/) material (`executableblocks-item_id`) +> > * [MMOItems] (https://www.spigotmc.org/resources/mmoitems.39267/) material (`mmoitems-item_id`) > > * [Placeholder](https://helpch.at/placeholders) material (`placeholder-%player_item_in_hand%`). > > * Item in main hand (`main_hand`). > > * Item in off hand (`off_hand`). @@ -102,7 +105,7 @@ Sets the item's amount in the menu using a [placeholder](https://helpch.at/place > ``` Allows you to set a CustomModelData for your item. Example of usage:\ -`model_data: 14` +`model_data: 14` (Can also support negative value) ## NBT Tags @@ -154,6 +157,22 @@ Now with support for SHIELDS! Make sure to also check the new [base\_color](item Allows you to specify base colors for shields and also for banners on 1.12.2 and lower versions. +## Armor Trims + +> ```yaml +> trim_material: +> trim_pattern: +> ``` +> +> > * [Trim material list](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/meta/trim/TrimMaterial.html). +> > * [Trim pattern list](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/meta/trim/TrimPattern.html). + +Allows you to set a trim and a pattern to an armor piece + +{% hint style="success" %} +These options are case-sensitive and support placeholders and arguments. +{% endhint %} + ## Item Flags > ```yaml