Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat: scoreboard objectives add potion_hasteplus dummy
- 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"}}}}
- chain: scoreboard players set @e[type=item] potion_hasteplus 2 {OnGround:1b,Item:{id:"minecraft:redstone",Count:1b}}
- 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"}}}}
- chain: scoreboard players tag @e[type=item] add potion_hasteplus_ {OnGround:1b,Item:{id:"minecraft:redstone",Count:1b}}
- 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
- 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
- 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
- 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"}}}}
- 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]
- chain: scoreboard objectives remove potion_hasteplus
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement