Advertisement
xeRicker

MysteryBoxes - effects.yml

Apr 20th, 2024
957
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.23 KB | None | 0 0
  1. # ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  2. # ■ ░█▀▄▀█ ░█──░█ ░█▀▀▀█ ▀▀█▀▀ ░█▀▀▀ ░█▀▀█ ░█──░█ ░█▀▀█ ░█▀▀▀█ ▀▄░▄▀ ░█▀▀▀ ░█▀▀▀█             ■
  3. # ■ ░█░█░█ ░█▄▄▄█ ─▀▀▀▄▄ ─░█── ░█▀▀▀ ░█▄▄▀ ░█▄▄▄█ ░█▀▀▄ ░█──░█ ─░█── ░█▀▀▀ ─▀▀▀▄▄             ■
  4. # ■ ░█──░█ ──░█── ░█▄▄▄█ ─░█── ░█▄▄▄ ░█─░█ ──░█── ░█▄▄█ ░█▄▄▄█ ▄▀░▀▄ ░█▄▄▄ ░█▄▄▄█ BY XERICKER ■
  5. # ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  6.  
  7. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  8. # You can create as many effects as you want by simply copying and pasting the existing effects.
  9. # Add the effects to various loot files under the "effects-settings" section.
  10. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  11. # HOW TO CREATE A CUSTOM EFFECT
  12. #   1. Copy an already existing effect of your choice.
  13. #   2. Change its ID (e.g., "common-confetti").
  14. #   3. Adjust the settings to your own preferences.
  15. #   4. Add the effect to loot of your choice under the "effects-settings" section.
  16. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  17. # CONFETTI & POPPER EFFECTS
  18. #   duration: How long the effect lasts.
  19. #   item-builder: Customize the item dropped.
  20. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  21. # FIREWORK SHOW EFFECT
  22. #   fireworks: How many fireworks are spawned.
  23. #   period: How quickly fireworks spawn apart from each other.
  24. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  25.  
  26. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  27. # HOW TO CREATE FIREWORKS USING THE FIREWORK BUILDER:
  28. # - type{Firework Type}: The type of the firework.
  29. # - flicker{true/false}: If true, the firework will flicker.
  30. # - trail{true/false}: If true, the firework will have a trail.
  31. # - p{value}: The power of the firework. A value of 0 makes it explode instantly.
  32. # - c{Colors...}: Colors either from the Bukkit color constants (e.g., YELLOW, WHITE) or RGB colors using the format "rgb(r,g,b)", separated by commas.
  33. # - f{Colors...}: Fade colors of the firework. Uses the same format as "c{Colors...}".
  34. # Example: "type{STAR} | flicker{false} | trail{false} | p{0} | c{WHITE} | f{WHITE,rgb(255,255,255)}"
  35. # •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  36.  
  37. common-confetti:
  38.   effect-type: CONFETTI
  39.   duration: 2
  40.   item-builder:
  41.     type: AMETHYST_SHARD
  42.     amount: 1
  43.     durability: 0
  44.     model: 0
  45.     head: ""
  46.     glow: false
  47.     potion-effects:
  48.     apply-tags:
  49.      - "key;value"
  50.     apply-enchants:
  51. common-spiral-popper:
  52.   effect-type: SPIRAL_POPPER
  53.   duration: 2
  54.   item-builder:
  55.     type: AMETHYST_SHARD
  56.     amount: 1
  57.     durability: 0
  58.     model: 0
  59.     head: ""
  60.     glow: false
  61.     potion-effects:
  62.     apply-tags:
  63.      - "key;value"
  64.     apply-enchants:
  65. common-firework-show:
  66.   effect-type: FIREWORK_SHOW
  67.   fireworks: 10
  68.   period: 4
  69.   firework-builder:
  70.    - "type{STAR} | flicker{false} | trail{false} | p{0} | c{WHITE} | f{WHITE,rgb(255,255,255)}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement