⚙️Item Options

View all the configuration options Item Actions supports for Item Stacks!

Item Configuration

This page outlines all available configuration options for creating custom ItemStacks via the config.

Basic Options

Material: DIAMOND_SWORD # The Bukkit material of the item.
Amount: 1               # Stack size.
Name: "&bEpic Sword"    # Item display name.
Lore:                   # List of strings shown as item lore.
  - "&7Sharp and shiny"
  - "&eUse with care"
Glow: true              # Makes item glow (applies a hidden enchant).
Hide-Tooltip: true      # Hides item tooltip.
Max-Stack-Size: 64      # Custom max stack size.
Model-Data: 123456      # Custom model data (for resource packs).
Item-Model: mypack:katana # Custom item model via namespaced key.
Tooltip-Style: custom:glow # Custom tooltip style via namespaced key.

Material values must match those listed in the Spigot Material enum. They are case-sensitive.

Glow: true adds an UNBREAKING enchantment with a high level and hides it using item flags.


Custom Data

Sets PersistentDataContainer values on the item using namespaced keys.


Leather Armor Color


Player Head Skins


Potion Data

Vanilla: true uses PotionType like POISON, HEAL, etc. When Vanilla is false, custom effects are added using PotionEffectType.


Tipped Arrow

Used for TIPPED_ARROW items. Accepts PotionType.


Enchantments

Each entry must be in the format enchant_name:level.

Refer to Enchantment enum for valid names.


Item Flags

Flags must match the values from the ItemFlag enum.


Equippable Options

Defines EquippableComponent behavior.

Slot uses EquipmentSlot. Equip-Sound uses Sound enum.


Food Options

Modifies the FoodComponent.


Tool Options

Customizes the ToolComponent.


Glider

Applies Elytra-style gliding behavior to the item (uses setGlider).


Let us know if you run into any issues with a specific field!

Last updated