Custom Potions [#31 Tutorial Series]

Updated: Jul 15

Commands

Step 1: execute @a[hasitem={item=glass_bottle, location=slot.hotbar, slot=0..8}] ~~~ tag @s add tpPotion

Step 2: execute @a[hasitem={item=glass_bottle, location=slot.inventory, slot=0..26}] ~~~ tag @s add tpPotion

Step 3: spreadplayers 20 -20 10 20 @a[tag=tpPotion]
# Use one command block/multiple to code your custom potion effects.

Step 4: clear @a[tag=tpPotion] glass_bottle

Step 5: tag @a[tag=tpPotion] remove tpPotion
# 10 Delay in ticks


Tutorial World Download
277 views0 comments

Related Posts

See All