Advertisement
Valorless

(Item) Template.yml

Feb 24th, 2025
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.63 KB | None | 0 0
  1. # Everything except 'material' is optional.
  2.  
  3. item-name: 'Dragon Slayer'
  4. display-name: '&6Dragon Slayer'
  5. lore:
  6. - '&bline1'
  7.  - 'line2'
  8. material: IRON_SWORD
  9. amount: 1
  10. max-stack: 1
  11. model-data: 0
  12. durability: 1000
  13. missing-durability: 200
  14. unbreakable: false
  15. hide-tooltip: false
  16. enchants:
  17. # https://helpch.at/docs/1.21.1/org/bukkit/enchantments/Enchantment.html
  18.  - SHARPNESS:6
  19.  - UNBREAKING:2
  20.  - MENDING:1
  21. attributes:
  22. # https://helpch.at/docs/1.21.1/org/bukkit/attribute/Attribute.html
  23. # https://helpch.at/docs/1.21.1/org/bukkit/inventory/EquipmentSlotGroup.html
  24. # https://helpch.at/docs/1.21.1/org/bukkit/attribute/AttributeModifier.Operation.html
  25. # - attribute:value:slot:operation
  26.  - ATTACK_DAMAGE:14:MAINHAND:ADD_NUMBER
  27.  - ATTACK_SPEED:0.15:MAINHAND:ADD_SCALAR
  28. item-flags:
  29. # https://helpch.at/docs/1.21.1/org/bukkit/inventory/ItemFlag.html
  30.  - HIDE_ENCHANTS
  31. nbt:
  32. # key:value:type (string (text), integer (whole number), boolean (true/false), double (decimal number))
  33.  - key:value:STRING
  34. tags:
  35. # namespace:key:value:type (string (text), integer (whole number), boolean (true/false), double (decimal number))
  36.  - namespace:key:value:STRING
  37.  
  38. ### Misc
  39. trim:
  40.  pattern: minecraft:snout
  41.  material: minecraft:copper
  42. dyed: '#63faff' # Leather Armor
  43. banner-patterns:
  44. # https://helpch.at/docs/1.21.1/org/bukkit/block/banner/PatternType.html
  45. # https://helpch.at/docs/1.21.1/org/bukkit/DyeColor.html
  46. # pattern:color
  47.  - RHOMBUS:CYAN
  48.  - STRIPE_BOTTOM:LIGHT_GRAY
  49. potion-effects:
  50. # if 'material' is a potion type, or TIPPED_ARROW
  51. # https://helpch.at/docs/1.21.1/org/bukkit/potion/PotionEffect.html
  52. # https://helpch.at/docs/1.21.1/org/bukkit/potion/PotionEffectType.html
  53. # effect:level:duration:ambient:particles:icon
  54.  - SPEED:1:20
  55.  - STRENGTH:2:10:false:true:false
  56. stored-enchantments:
  57. # For ENCHANTED_BOOK
  58. # https://helpch.at/docs/1.21.1/org/bukkit/enchantments/Enchantment.html
  59. # enchant:level
  60.  - UNBREAKING:5
  61.  - LOOTING:4
  62.  - MENDING
  63. spawner:
  64.  type: ZOMBIE # https://helpch.at/docs/1.21.1/org/bukkit/entity/EntityType.html
  65.  spawn-count: 5 # Set how many mobs attempt to spawn.
  66.  delay: 200 # If set to -1, the spawn delay will be reset to a random value between getMinSpawnDelay() and getMaxSpawnDelay().
  67.  min-spawn-delay: 100 # Set the minimum spawn delay amount (in ticks).
  68.  max-spawn-delay: 600 # Set the maximum spawn delay amount (in ticks).
  69.  max-nearby-entities: 7 # Set the maximum number of similar entities that are allowed to be within spawning range of this spawner.
  70. food:
  71. # Values are an example of HONEY_BOTTLE
  72.  hunger: 6 # 6 = 3 drumstick.
  73.  saturation: 1.2 # Saturation is an instant status effect that reduces the need for eating.
  74.  eat-speed: 1.61 # Time in seconds it will take for this item to be eaten.
  75.  converts-to: GLASS_BOTTLE # What the item becomes when eaten. Like an empty glass bottle. Can be custom item.
  76.  can-always-eat: false # Sets if this item can be eaten even when not hungry.
  77.  effects:
  78.  # Ofc honey bottles have no effects, but still.
  79.   # duration in ticks. (20 = 1s)
  80.   # effect:level:duration:chance
  81.   - SPEED:1:200:0.5
  82. tool:
  83.  base: IRON_PICKAXE # Tool we'll use as our tool base.
  84.  mining-speed: 6.0
  85.  damage-per-block: 1
  86.  blocks: # List of blocks this tool is for.
  87.   - STONE
  88.   - IRON_ORE
  89.   - COAL_ORE
  90.   - GRANITE
  91.   - DIRT
  92. playable:
  93.  song: minecraft:pigstep # namespace:song - https://helpch.at/docs/1.21.1/org/bukkit/JukeboxSong.html
  94.  song-tooltip: true # Sets if the song will show in the item tooltip.
  95. head-texture: 'eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmYyN2U1M2YxMDFjMzQ5ODAxZmMzMzJhZDIzYTMyNTQ3MjU4MThhMDE3MDdkNTUyZTYzM2E2MzRhZTJjZjBkMSJ9fX0='
  96.  
  97.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement