Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. repeat: scoreboard objectives add potion_hasteplus dummy
  2. chain: scoreboard players set @e[type=item] potion_hasteplus 1 {OnGround:1b,Item:{id:potion,Count:1b,tag:{CustomPotionEffects:[{Id:3,Amplifier:0,Duration:3600}],CustomPotionColor:16773673,display:{LocName:"Haste Potion"}}}}
  3. chain: scoreboard players set @e[type=item] potion_hasteplus 2 {OnGround:1b,Item:{id:"minecraft:redstone",Count:1b}}
  4. chain: scoreboard players tag @e[type=item] add potion_hasteplus {OnGround:1b,Item:{id:potion,Count:1b,tag:{CustomPotionEffects:[{Id:3,Amplifier:0,Duration:3600}],CustomPotionColor:16773673,display:{LocName:"Haste Potion"}}}}
  5. chain: scoreboard players tag @e[type=item] add potion_hasteplus_ {OnGround:1b,Item:{id:"minecraft:redstone",Count:1b}}
  6. chain: execute @e[type=item,tag=potion_hasteplus_] ~ ~ ~ execute @e[type=item,tag=potion_hasteplus,r=1,c=1] ~ ~ ~ particle cloud ~ ~ ~ .1 1 .1 .1 100 force
  7. chain: execute @e[type=item,tag=potion_hasteplus_] ~ ~ ~ execute @e[type=item,tag=potion_hasteplus,r=1,c=1] ~ ~ ~ playsound minecraft:ui.toast.challenge_complete master @a[r=50] ~ ~ ~ 100
  8. chain: execute @e[type=item,tag=potion_hasteplus_] ~ ~ ~ execute @e[type=item,tag=potion_hasteplus,r=1,c=1] ~ ~ ~ playsound block.brewing_stand.brew master @a[r=50] ~ ~ ~ 100
  9. chain: execute @e[type=item,tag=potion_hasteplus_] ~ ~ ~ execute @e[type=item,tag=potion_hasteplus,r=1,c=1] ~ ~ ~ summon item ~ ~1 ~ {CustomName:"Haste Potion",CustomNameVisible:1,PersistanceRequired:1,Item:{id:potion,Count:1,tag:{CustomPotionEffects:[{Id:3,Amplifier:0,Duration:9600}],CustomPotionColor:16773673,display:{LocName:"Haste Potion"}}}}
  10. chain: execute @e[type=item,tag=potion_hasteplus_] ~ ~ ~ execute @e[type=item,tag=potion_hasteplus,r=1,c=1] ~ ~ ~ kill @e[type=item,score_potion_hasteplus_min=1,score_potion_hasteplus=2,r=1,c=2]
  11. chain: scoreboard objectives remove potion_hasteplus
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement