Items

or6m6n2s.jpg

Making custom items in Mythic Mobs is quite easy. Unlike mobs and skills however, items made with this plugin do not come with any special or unique options. Any items you create with MythicMobs could also be created by Minecraft commands, though making the items using the MythicMobs configurations is much more comfortable.

Of the following options available for items, only internal_itemname and Id are required. All other options/attributes are completely optional.

iternal_itemname:
  Id:
  Data:
  Display:
  Attributes:
  Amount:
  Options:
  Durability:
  Enchantments:
  Lore:
  PotionEffects:
  BannerLayers:

Breaking down the options

  • internal_itemname:
    • This string will be how your item is referenced internally in MythicMobs and can be any name you like.
    • Must be alphanumerical and is case sensitive.
    • Examples:
      • strong_sword:
      • StrongSword:
      • strongsword:
  • Id:
    • Defines the type of item.
    • Can be either the item id or the bukkit material/item name.
    • Often used items are listed here: Common Item IDs
    • A list of Spigot IDs for 1.12.2 is available here.
    • Examples:
      • Id: 359
      • Id: diamond_sword
    • It is STRONGLY RECOMMENDED to use namespaced item IDs, e.g. diamond_sword, on Minecraft 1.12.2.
    • Numbered IDs do not exist in versions 1.13.2 and above, and you will save yourself a lot of time if you don't rely on the old numbered ID system.
  • Data:
    • Sets the data value of the item created.
    • Used to specify the used up durability points on items, weapons or armor or to specify the sub-type of a block.
  • Display: '[display_name]'
    • Sets the display name of the item.
    • Supports color codes and string variables: Variables
    • Must be encased by single quotes.
    • For using single quotes inside of the name, you can use the <&sq> variable.
    • Examples:
      • Display: 'Very Strong Sword'
      • Display: '&eVery Strong Sword'
  • Attributes:
    • Special field that allows the addition of item attributes to certain entity slots: Item Attributes
  • Amount:
    • Defines the default amount of items to give when this item is being called by the plugin.
    • Examples:
      • Amount: 8
  • Options:
    • This is a special field which comes with numerous sub-options, determining lots of extra attributes for the item.
    • A complete list of all available options: Item Options
  • Durability:
    • Defines the starting durability of the item.
  • Hide: Added in version 2.4
    • Special field that allows to hide specific things from the item tooltip.
    • Possible are “ATTRIBUTES”, “ENCHANTS”, “DESTROYS”, “PLACED_ON”, “POTION_EFFECTS” and “UNBREAKABLE”.
    • Examples:
      •   Hide:
          - ATTRIBUTES
          - UNBREAKABLE
  • Enchantments:
    • This field allows to add enchantments to items.
    • Any type of of item can have any enchanment(s).
    • A complete list of all available enchantments: Enchantments
  • Lore:
    • Allows you to add custom lore to your items.
    • Supports color codes and string Variables.
    • Must be encased by single quotes.
    • For using single quotes inside of the name, you can use the <&sq> variable.
    • Putting number ranges surrounded by curly braces will generate a random number in that range when the item is created (i.e. Health: +{100-200} would become something like Health: +152). Works with ItemLoreStats.
    • Examples:
      Lore:
      - '&rThe weapon of a true warrior'
      - ''
      - '&cIncreases ones greed'
  • PotionEffects:
    • This allows you to add potion effects to your items.
    • These effects won't do anything, except for showing up in the item tooltip, if the specified item isn't a potion.
    • See Potions.
  • BannerLayers:
    • This option allows you to edit the layers of a banner.
    • Won't do anything if the selected item isn't a banner.
    • This option is capeable of passing minecraft's 6 layer limit. However adding excessive amounts of layers may cause weird behaviour and will not be supported.

Examples

More items can be found in the Examples section.

ClothSlippers:
  Id: 301
  Data: 0
  Display: '&fCloth Slippers'
  Lore:
  - ''
  - 'So Soft!'
  - ''
  Enchantments:
  - DURABILITY:1
  Options:
    Color: 200,200,200

Lots of possible options included:

dat_item_though:
  Id: banner
  Data: 4
  Display: '&c&lThe Banner&r'
  Lore:
  - ''
  - '&rIt<&sq>s the perfect stone.'
  - '&cNever question that.'
  - ''
  Amount: 8
  Options:
    Color: 200,200,200
    Damage: 100
    Health: 123
    FollowRange: 12
    KnockbackResistance: 1
    MovementSpeed: 0.05
    HideFlags: false
    Unbreakable: true
  Enchantments:
  - DURABILITY:1
  - ARROW_FIRE:10

This example will hide which enchantments and potion effects are on the item:

potato:
  Id: carrot_item
  Enchantments:
  - DURABILITY:5
  PotionEffects:
  - BLINDNESS 20 1
  Hide:
  - ENCHANTS
  - POTION_EFFECTS

databases/items/overview.txt · Last modified: 2019/07/01 13:44 by wahrheit