top of page

Custom Potions [#31 Tutorial Series]

Writer's picture: Jessie101Jessie101

Updated: Jul 15, 2022

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


629 views0 comments

Related Posts

See All

Comentarios


bottom of page