Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. repeat: scoreboard objectives add potion_haste dummy
  2. chain: scoreboard players set @e[type=item] potion_haste 1 {OnGround:1b,Item:{id:"minecraft:potion",Count:1b}}
  3. chain: scoreboard players set @e[type=item] potion_haste 2 {OnGround:1b,Item:{id:"minecraft:carrot",Count:1b}}
  4. chain: scoreboard players tag @e[type=item] add potion_haste {OnGround:1b,Item:{id:"minecraft:potion",Count:1b,Damage:0s}}
  5. chain: scoreboard players tag @e[type=item] add potion_haste_ {OnGround:1b,Item:{id:"minecraft:carrot",Count:1b}}
  6. chain: execute @e[type=item,tag=potion_haste_] ~ ~ ~ execute @e[type=item,tag=potion_haste,r=1,c=1] ~ ~ ~ particle cloud ~ ~ ~ .1 1 .1 .1 100 force
  7. chain: execute @e[type=item,tag=potion_haste_] ~ ~ ~ execute @e[type=item,tag=potion_haste,r=1,c=1] ~ ~ ~ playsound minecraft:ui.toast.challenge_complete master @a[r=50] ~ ~ ~ 100
  8. chain: execute @e[type=item,tag=potion_haste_] ~ ~ ~ execute @e[type=item,tag=potion_haste,r=1,c=1] ~ ~ ~ playsound block.brewing_stand.brew master @a[r=50] ~ ~ ~ 100
  9. chain: execute @e[type=item,tag=potion_haste_] ~ ~ ~ execute @e[type=item,tag=potion_haste,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:3600}],CustomPotionColor:16773673,display:{LocName:"Haste Potion"}}}}
  10. chain: execute @e[type=item,tag=potion_haste_] ~ ~ ~ execute @e[type=item,tag=potion_haste,r=1,c=1] ~ ~ ~ kill @e[type=item,score_potion_haste_min=1,score_potion_haste=2,r=1,c=2]
  11. chain: scoreboard objectives remove potion_haste
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement