Advertisement
ShiZzeR1337

Untitled

Jun 24th, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. options: <!--- Linijka dodaje nam opcje do skryptu.-------!>
  2. CobbleX: smooth bricks
  3. wymagane_cmd: 576 cobblestone
  4. obrazenia: 10
  5. enchant: thorns 3
  6. nazwa: "&7Cobble&aX"
  7. cWiad: &aPostawiles &7&lCobble&a&lX&f!
  8. # Zelazo:
  9. dIron: 20
  10. # Zloto:
  11. dGold: 15
  12. # Diamenty:
  13. dDiax: 10
  14. # Emeraldy:
  15. dEmer: 10
  16. #Perly kresu:
  17. dPerla: 10
  18. #Biblioteczki:
  19. dBiblio: 10
  20. #Obsydian:
  21. dObsy: 50
  22. #Wegiel:
  23. dWegiel: 70
  24. mIron: &bTwoja niespodzianka to: &7Zelazo
  25. mGold: &bTwoja niespodzianka to: &6Zloto
  26. mDiax: &bTwoja niespodzianka to: &bDiament
  27. mEmer: &bTwoja niespodzianka to: &aEmerald
  28. mPerla: &bTwoja niespodzianka to: &9Perla Kresu
  29. mBiblio: &bTwoja niespodzianka to: &cBiblioteczka
  30. mObsy: &bTwoja niespodzianka to: &3Obsydian
  31. mWegiel: &bTwoja niespodzianka to: &0Wegiel
  32. tag: &b[&7Cobble&aX&b]
  33. on load:
  34. set {_nazwa} to "&7Cobble&aX"
  35. Recipe.new{ {_nazwa} }
  36. {_nazwa}.Recipe.registerIngredient{1, 64 cobblestone}
  37. {_nazwa}.Recipe.registerIngredient{2, 64 cobblestone}
  38. {_nazwa}.Recipe.registerIngredient{3, 64 cobblestone}
  39. {_nazwa}.Recipe.registerIngredient{4, 64 cobblestone}
  40. {_nazwa}.Recipe.registerIngredient{5, 64 cobblestone}
  41. {_nazwa}.Recipe.registerIngredient{6, 64 cobblestone}
  42. {_nazwa}.Recipe.registerIngredient{7, 64 cobblestone}
  43. {_nazwa}.Recipe.registerIngredient{8, 64 cobblestone}
  44. {_nazwa}.Recipe.registerIngredient{9, 64 cobblestone}
  45. {_nazwa}.Recipe.registerResult{4 decorated bricks of thorns 3 named "&7Cobble&aX"}
  46. {_nazwa}.Recipe.register
  47.  
  48. on place of decorated bricks:
  49. send "{@cWiad}"
  50.  
  51. on mine decorated bricks:
  52. if player's gamemode is survival:
  53. if player's tool is pickaxe:
  54. set event-block to air
  55. cancel event
  56. chance of {@dIron}%:
  57. give 1 iron ingot to the player
  58. send "{@tag} {@mIron}"
  59. chance of {@dGold}%:
  60. give 1 gold ingot to the player
  61. send "{@tag} {@mGold}"
  62. chance of {@dDiax}%:
  63. give 1 diamond to the player
  64. send "{@tag} {@mDiax}"
  65. chance of {@dEmer}%:
  66. give 1 emerald to the player
  67. send "{@tag} {@mEmer}"
  68. chance of {@dPerla}%:
  69. give 1 ender pearl to the player
  70. send "{@tag} {@mPerla}"
  71. chance of {@dBiblio}%:
  72. give 1 bookshelf to the player
  73. send "{@tag} {@mBiblio}"
  74. chance of {@dObsy}%:
  75. give 1 obsidian to the player
  76. send "{@tag} {@mObsy}"
  77. chance of {@dWegiel}%:
  78. give 1 coal to the player
  79. send "{@tag} {@mWegiel}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement