Advertisement
doru90

Untitled

Dec 29th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. command /wand <player>:
  2. trigger:
  3. give arg a diamond hoe named "&bスパーク"
  4. give arg a diamond hoe named "&9ウォーター"
  5. on right click holding a diamond hoe:
  6. name of the player's tool is "&bスパーク":
  7. if player has diamond hoe named "&bスパーク" in hand:
  8.  
  9. if target block is set:
  10. launch "BURST" firework at location above target block timed 0 coloured "yellow"
  11. loop firework rockets in radius 1 of location above target block:
  12. add "{LifeTime:2}" to nbt of loop-entity
  13. loop all living entities in radius 3 around location above target block:
  14. damage loop-entity by 3
  15. else:
  16. launch "BURST" firework at block 30 in front of the player timed 0 coloured "black"
  17. drawDot count 4, particle "witchspell", XYZ 1, 1, 1, center location of block 30 in front of the player, visibleRange 320, pulseDelay 0, keepFor 10 ticks
  18. loop firework rockets in radius 1 of block 30 in front of the player:
  19. add "{LifeTime:2}" to nbt of loop-entity
  20. loop all living entities in radius 3 around block 30 in front of the player:
  21. damage loop-entity by 4
  22. stop
  23.  
  24. on right click holding a diamond hoe:
  25. name of the player's tool is "&9ウォーター":
  26. if player has diamond hoe named "&9ウォーター" in hand:
  27. set {_num} to 0.5
  28. set {_Particle} to location of the block {_num} meter in front of player's head
  29. loop 30 times:
  30. show 10 water splash particles at {_Particle} offset by 0, 0, 0
  31. set {_num} to {_num} + 0.5
  32. set {_Particle} to location of the block {_num} meter infront of player's head
  33. if the block {_num} meter infront of player's head is not air:
  34. stop loop
  35. loop all living entities in radius 2 around location:
  36. damage loop-entity by 3
  37.  
  38. on projectile hit:
  39. if projectile is an arrow:
  40. if metadata "Alive" of projectile is "true":
  41. set metadata "Alive" of projectile to "false"
  42. create a safe explosion of force 10 at event-entity
  43. launch "BALL_LARGE" firework at event-location timed 0 coloured "red" and "black"
  44. loop firework rockets in radius 1 of event-location:
  45. add "{LifeTime:2}" to nbt of loop-entity
  46. set {_a} to 0
  47. loop blocks in radius 3 around event-entity:
  48. if loop-block isn't bedrock:
  49. spawn falling block of loop-block at loop-block
  50. set loop-block to air
  51. push last spawned entity upwards with force 2
  52. push last spawned entity direction from event-location to last spawned entity with force 0.5
  53. delete projectile
  54. on damage:
  55. attacker has diamond hoe in hand
  56. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement