Guest User

Verzögerte Feuerpfeile mit Radius #36 Tutorial Spigot

a guest
Sep 3rd, 2017
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. on projectile hit:
  2. delete projectile
  3. wait 1 tick
  4. set {_loc} to block at projectile
  5. loop blocks in radius 1.8 around {_loc}:
  6. loop-block is air
  7. add loop-block to {_blocks::*}
  8. while size of {_blocks::*} is more than 0:
  9. set {_block} to random element out of {_blocks::*}
  10. remove {_block} from {_blocks::*}
  11. set block at {_block} to fire
  12. wait 1 tick
  13. wait 2 seconds
  14. loop 5 times:
  15. loop blocks in radius 2 around {_loc}:
  16. "%loop-block%" contains "fire"
  17. add loop-block to {_blocks::*}
  18. while size of {_blocks::*} is more than 0:
  19. set {_block} to random element out of {_blocks::*}
  20. remove {_block} from {_blocks::*}
  21. set block at {_block} to air
  22. wait 5 tick
  23. wait 1 tick
  24. #youtube.com/L0v0lup
Advertisement
Add Comment
Please, Sign In to add comment