Items (advanced)
All the subtleties of item creation
Vanilla options
ItemTemplate
This allows you to easily copy properties from a template-item onto other items. In the template item:
In the item you want to copy the properties to:
DisplayName
This allows you to change the name displayed on the top of an item.
Material
This allows you to change the item type
Color
This allows you to change the color of an item made of a supported material (e.g. leather armor).
Lore
This allows you to add lines of text under the item name.
injectID
This allows Oraxen to know recognise the item, it is by default set to true and you should not have to change it. If you do it anyway, the mechanics of the items will no longer work.
Disable Enchanting
This options allows you to prevent an item from being enchanted via anvils or enchantment tables. This does not prevent enchantments from being applied in the config.\
excludeFromInventory
This option allows you to exclude an item from the oraxen inventory. It will no longer be displayed but you can still get it using oraxen give command. It is useful for items used in other plugins like inventory icons.
durability
This allows you to change the number of damage of a item (not very useful)
unbreakable
This will make your item unbreakable (for real, using minecraft dedicated property).
Unstackable
This will make your item unstackable. Useful for backpacks and other custom items that you want to be unique.
ItemFlags
This allows you to set ItemFlags to an item, get the list of available flags here.
PotionEffects
This allows you to add custom Potion Effects to your potion. Get the list of available effects here.
AttributeModifiers
This allows you to add minecraft attributes to your item. They are very powerful and allow you to make an item that adds hearts, increases the player's speed, etc. Get the list of available attributes here.
Enchantments
If you want to enchant your item (even with non vanilla levels like for example sharpness 15), you can do it with this section.
Here is a list of enchants available in minecraft vanilla:
How do I set a specific Custom Model Data?
Pack options
This part has a dedicated page, you can consult it here.
Mechanics options
This part has a dedicated page, you can consult it here.
Last updated