pie_flavor

Item structure for Bukkit YAML.

Dec 21st, 2015
167
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This is the ItemStack serialization reference for Bukkit.
  2. # This config was auto-generated for the most part by a test plugin. Appropriate comments have been inserted, and repetition tags have been removed.
  3. item:
  4.   ==: org.bukkit.inventory.ItemStack
  5.   # Materials: http://jd.bukkit.org/org/bukkit/Material.html
  6.   type: DIAMOND_SWORD
  7.   damage: 34
  8.   amount: 21
  9.   meta:
  10.     ==: ItemMeta
  11.     meta-type: UNSPECIFIC
  12.     # \xa7 is the color code. You have to use quotes when you use it. Remember that if you do not color the text, the title will be in italics, and the lore will be in dark purple italics.
  13.     display-name: "\xa7fSharp Object"
  14.     lore:
  15.    - "\xa77This object is sharp."
  16.     - "\xa77Don't run with it."
  17.     - "\xa77Hey, are you still reading this?"
  18.     enchants:
  19.      # Enchantments: https://jd.bukkit.org/org/bukkit/enchantments/Enchantment.html
  20.       ARROW_INFINITE: 69
  21. potion:
  22.   ==: org.bukkit.inventory.ItemStack
  23.   type: POTION
  24.   meta:
  25.     ==: ItemMeta
  26.     meta-type: POTION
  27.     display-name: "\xa7fPotion of Leaping"
  28.     custom-effects:
  29.     - ==: PotionEffect
  30.       effect: 8
  31.       # This is in ticks
  32.       duration: 180
  33.       amplifier: 8
  34.       ambient: true
  35. skull:
  36.   ==: org.bukkit.inventory.ItemStack
  37.   type: SKULL_ITEM
  38.   meta:
  39.     ==: ItemMeta
  40.     meta-type: SKULL
  41.     skull-owner: Pentephraxis
  42. leather-armor:
  43.   ==: org.bukkit.inventory.ItemStack
  44.   type: LEATHER_HELMET
  45.   meta:
  46.     ==: ItemMeta
  47.     meta-type: LEATHER_ARMOR
  48.     color:
  49.       ==: Color
  50.       RED: 0
  51.       BLUE: 128
  52.       GREEN: 128
  53. firework:
  54.   ==: org.bukkit.inventory.ItemStack
  55.   type: FIREWORK
  56.   meta:
  57.     ==: ItemMeta
  58.     meta-type: FIREWORK
  59.     firework-effects:
  60.     - ==: Firework
  61.       flicker: true
  62.       trail: true
  63.       colors:
  64.       - ==: Color
  65.         RED: 0
  66.         BLUE: 128
  67.         GREEN: 128
  68.       fade-colors:
  69.       - ==: Color
  70.         RED: 0
  71.         BLUE: 0
  72.         GREEN: 128
  73.       type: STAR
  74.     power: 3
  75. firework-charge:
  76.   ==: org.bukkit.inventory.ItemStack
  77.   type: FIREWORK_CHARGE
  78.   meta:
  79.     ==: ItemMeta
  80.     meta-type: FIREWORK_EFFECT
  81.     firework-effect:
  82.       ==: Firework
  83.       flicker: true
  84.       trail: true
  85.       colors:
  86.       - ==: Color
  87.         RED: 0
  88.         BLUE: 128
  89.         GREEN: 128
  90.       fade-colors:
  91.       - ==: Color
  92.         RED: 0
  93.         BLUE: 0
  94.         GREEN: 128
  95.       type: STAR
  96. book:
  97.   ==: org.bukkit.inventory.ItemStack
  98.   type: WRITTEN_BOOK
  99.   meta:
  100.     ==: ItemMeta
  101.     meta-type: BOOK
  102.     title: Bukkit Programming in Java
  103.     author: pie_flavor
  104.     pages:
  105.    - Just google it.
  106.     - Also, don't watch the BcBroz.
  107.     - Hey, are you still reading this?
  108. enchanted-book:
  109.   ==: org.bukkit.inventory.ItemStack
  110.   type: ENCHANTED_BOOK
  111.   meta:
  112.     ==: ItemMeta
  113.     meta-type: ENCHANTED
  114.     stored-enchants:
  115.       ARROW_INFINITE: 69
RAW Paste Data