Items

This page describes how to create custom items

items.yml

items:

  magic_sword:
    material: DIAMOND_SWORD
    amount: 1
    display_name: "&bMagic Sword"
    lore:
      - "&eThe legendary sword"
      - "&eForge of the Ancients"
    enchantments:
      DAMAGE_ALL: 5
      FIRE_ASPECT: 2
    hide-enchants: false
    

The things strictly necessary to create a simple item would be:

  magic_sword:
    material: DIAMOND_SWORD

All other entries are optional.


Description of the entries

Entries
Descriptions
magic_sword:

It is the name we give to the object, which can then be called with the command: /smartitemcreator <item> <item> = magic_sword

material: DIAMOND_SWORD

In this section you should enter the material you want to use from those in the game. If no material is entered, it takes the default one (default: STONE)

amount: 1

OPTIONAL Amount of items that will be given to the player (default: 1)

display_name: "&bMagic Sword"

OPTIONAL In this section you can enter a name to give to the item that will then be visible in the game. It supports classic minecraft text formatting: style and color

  lore:
      - "&eThe legendary sword"
      - "&eForge of the Ancients"

OPTIONAL It is possible to insert a lore of one or more visible lines into the in-game item. It supports classic minecraft text formatting: style and color

    enchantments:
      DAMAGE_ALL: 5
      FIRE_ASPECT: 2
    hide-enchants: false

OPTIONAL It is possible to assign one or more enchantments to the object, choosing whether to make them visible or not.

Last updated