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