Advertisement
SirStickyNote

Whirlpools One Command (Raw)

Mar 19th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.03 KB | None | 0 0
  1. INIT:scoreboard objectives add SSNWhirlElytra dummy
  2. INIT:scoreboard objectives add SSNWhirlLife dummy
  3. INIT:scoreboard objectives add SSNWhirlTime dummy
  4. INIT:scoreboard objectives add SSNWhirlCraft dummy
  5. /scoreboard players add @e[tag=SSNWhirlpool] SSNWhirlTime 1
  6. /scoreboard players set @e[score_SSNWhirlTime_min=50] SSNWhirlTime 0
  7. /execute @e[score_SSNWhirlTime=1,score_SSNWhirlTime_min=1] ~ ~ ~ summon armor_stand ~ ~100 ~ {Tags:[SSNWhirlStand],Marker:1,ArmorItems:[{},{},{id:"minecraft:elytra",Count:1b,Damage:0s},{}],FallFlying:1b}
  8. /scoreboard players add @e[tag=SSNWhirlStand] SSNWhirlElytra 1
  9. /kill @e[score_SSNWhirlElytra_min=200]
  10. tp @e[tag=SSNWhirlStand] ~ ~0.1 ~ ~5 0
  11. execute @e[tag=SSNWhirlStand] ~ ~-101 ~ /particle fallingdust ~ ~-1 ~ 0 1 0 0.5 5 force @a 22
  12. execute @e[tag=SSNWhirlStand] ~ ~-101 ~ fill ~3 ~3 ~3 ~-3 ~-3 ~-3 air 0 replace water
  13. execute @e[tag=SSNWhirlStand] ~ ~-100 ~ /tp @e[r=6,type=!armor_stand] ~ ~-0.5 ~ ~60 ~
  14. execute @e[tag=SSNWhirlpool] ~ ~-7 ~ /tp @e[r=10,type=!armor_stand] ~ ~0.2 ~
  15. execute @e[tag=SSNWhirlpool] ~ ~-7 ~ /effect @e[r=10,type=!armor_stand] wither 3 1 true
  16. /scoreboard players add @e[tag=SSNWhirlpool] SSNWhirlLife 1
  17. kill @e[score_SSNWhirlLife_min=72000]
  18. /scoreboard players set @e[type=item] SSNWhirlCraft 1 {Item:{id:"minecraft:water_bucket",Count:1b,Damage:0s}}
  19. /scoreboard players set @e[type=item] SSNWhirlCraft 2 {Item:{id:"minecraft:ender_eye",Count:16b,Damage:0s}}
  20. execute @e[score_SSNWhirlCraft=1] ~ ~ ~ execute @e[r=1,score_SSNWhirlCraft_min=2] ~ ~ ~ /summon item ~ ~ ~ {Item:{id:spawn_egg,Damage:94,Count:1b,tag:{display:{Name:"Spawn Whirlpool",Lore:["Right-click under a block on the surface of a large body of water (you might get caught in it)", "OR", "Drop the item from above into a large body of water to be safe when it spawns", "NOTE: Whirlpool must be spawned inside a STILL water block"]},EntityTag:{id:"minecraft:squid",Tags:["SSNWhirlSpawn"]}}}}
  21. execute @e[score_SSNWhirlCraft=1] ~ ~ ~ execute @e[r=1,score_SSNWhirlCraft_min=2] ~ ~ ~ particle splash ~ ~ ~ 0 0 0 0 100 force @a
  22. execute @e[score_SSNWhirlCraft=1] ~ ~ ~ execute @e[r=1,score_SSNWhirlCraft_min=2] ~ ~ ~ kill @e[r=1,type=item,score_SSNWhirlCraft_min=1]
  23. execute @e[tag=SSNWhirlSpawn] ~ ~ ~ summon armor_stand ~ ~ ~ {Marker:1,Invisible:1,Tags:["SSNWhirlpool"],PersistenceRequired:1,NoGravity:1}
  24. execute @e[tag=SSNWhirlSpawn] ~ ~ ~ particle splash ~ ~ ~ 1 1 1 0 5000 force @a
  25. kill @e[tag=SSNWhirlSpawn]
  26. /scoreboard players tag @e[type=item] add SSNWhirlDrop {Item:{id:"minecraft:spawn_egg",Count:1b,tag:{display:{Name:"Spawn Whirlpool",Lore:["Right-click under a block on the surface of a large body of water (you might get caught in it)", "OR", "Drop the item from above into a large body of water to be safe when it spawns", "NOTE: Whirlpool must be spawned inside a STILL water block"]}}}}
  27. execute @e[tag=SSNWhirlDrop] ~ ~ ~ detect ~ ~ ~ water 0 summon armor_stand ~ ~2 ~ {Marker:1,Invisible:1,Tags:["SSNWhirlpool"],PersistenceRequired:1,NoGravity:1}
  28. execute @e[tag=SSNWhirlDrop] ~ ~ ~ detect ~ ~ ~ water 0 kill @e[tag=SSNWhirlDrop,r=0,c=1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement