Sprint2DJ

Untitled

May 22nd, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. On Shoot:
  2. "%projectile%" contains "potion":
  3. if name of shooter's tool is "&fCiekła pajęczyna":
  4. loop 200 times:
  5. set {_l} to location of projectile
  6. if {_l} is {_ll}:
  7. loop blocks in radius 3:
  8. loop-block is air:
  9. chance of 50%:
  10. set loop-blocks to cobweb
  11. wait 5 second
  12. loop blocks in radius 3:
  13. loop-block is cobweb:
  14. set loop-block to air
  15. wait 0.5 second
  16. stop
  17. wait 1 tick
  18. set {_ll} to location of projectile
  19. wait 1 tick
  20. command /potka:
  21. trigger:
  22. player has permission "potka":
  23. give player potion of:16384 named "&fCiekła pajęczyna"
  24. on load:
  25. set {_potka} to "potka"
  26. new Recipe {_potka};
  27. {_potka}.Recipe.setIngredient{1, 1 cobweb};
  28. {_potka}.Recipe.setIngredient{2, 1 cobweb};
  29. {_potka}.Recipe.setIngredient{3, 1 cobweb};
  30. {_potka}.Recipe.setIngredient{4, 1 cobweb};
  31. {_potka}.Recipe.setIngredient{5, 1 potion:0};
  32. {_potka}.Recipe.setIngredient{6, 1 cobweb};
  33. {_potka}.Recipe.setIngredient{7, 1 cobweb};
  34. {_potka}.Recipe.setIngredient{8, 1 cobweb};
  35. {_potka}.Recipe.setIngredient{9, 1 cobweb};
  36. {_potka}.Recipe.setResult{potion of:16384 named "&fCiekła pajęczyna"};
  37. {_potka}.Recipe.register{};
Advertisement
Add Comment
Please, Sign In to add comment