Command Block Tutorial #167: Potion Allay Commands in Minecraft (1.19+)
In this video I will show how to give yourself some potion effects after giving certain Allays a certain item so they can give you the effects infinity in their range.
Previous potion video: https://youtu.be/IH0ca7splAI
Commands:
To summon the 6 Allays:
* Healing Allay: /summon allay ~ ~1 ~ {PersistenceRequired:1,CustomName:"\"Healing Allay\""}
* Mobility Allay: /summon allay ~ ~1 ~ {PersistenceRequired:1,CustomName:"\"Mobility Allay\""}
* Combat Allay: /summon allay ~ ~1 ~ {PersistenceRequired:1,CustomName:"\"Combat Allay\""}
* Mining Allay: /summon allay ~ ~1 ~ {PersistenceRequired:1,CustomName:"\"Mining Allay\""}
* Sea Flame Allay: /summon allay ~ ~1 ~ {PersistenceRequired:1,CustomName:"\"Sea Flame Allay\""}
* Balloon Allay: /summon allay ~ ~1 ~ {PersistenceRequired:1,CustomName:"\"Balloon Allay\""}
To activate the Healing Allay:
1. Repeater Command Block (Always Active): /execute if entity @e[type=minecraft:allay,name="Healing Allay",nbt={HandItems:[{id:"minecraft:potion"}]}]
---------------------------------------------
Redstone Comparator
---------------------------------------------
2. Repeater Command Block: /execute at @p run execute at @e[type=minecraft:allay,name="Healing Allay",distance=0..10] run effect give @p minecraft:instant_health 1 1 true
To activate the Mobility Allay:
1. Repeater Command Block (Always Active): /execute if entity @e[type=minecraft:allay,name="Mobility Allay",nbt={HandItems:[{id:"minecraft:iron_boots"}]}]
---------------------------------------------
Redstone Comparator
---------------------------------------------
2. Repeater Command Block: /execute at @p run execute at @e[type=minecraft:allay,name="Mobility Allay",distance=0..10] run effect give @p minecraft:speed 1 1 true
3. Repeater Command Block: /execute at @p run execute at @e[type=minecraft:allay,name="Mobility Allay",distance=0..10] run effect give @p minecraft:jump_boost 1 2 true
To activate the Combat Allay:
1. Repeater Command Block (Always Active): /execute if entity @e[type=minecraft:allay,name="Combat Allay",nbt={HandItems:[{id:"minecraft:iron_sword"}]}]]
---------------------------------------------
Redstone Comparator
---------------------------------------------
2. Repeater Command Block: /execute at @p run execute at @e[type=minecraft:allay,name="Combat Allay",distance=0..10] run effect give @p minecraft:strength 1 1 true
3. Repeater Command Block: /execute at @p run execute at @e[type=minecraft:allay,name="Combat Allay",distance=0..10] run effect give @p minecraft:resistance 1 1 true
To activate the Mining Allay:
1. Repeater Command Block (Always Active): /execute if entity @e[type=minecraft:allay,name="Mining Allay",nbt={HandItems:[{id:"minecraft:iron_pickaxe"}]}]
---------------------------------------------
Redstone Comparator
---------------------------------------------
2. Repeater Command Block: /execute at @p run execute at @e[type=minecraft:allay,name="Mining Allay",distance=0..10] run effect give @p minecraft:haste 1 1 true
3. Repeater Command Block: /execute at @p run execute at @e[type=minecraft:allay,name="Mining Allay",distance=0..10] run effect give @p minecraft:night_vision 1 1 true
To activate the Sea Flame Allay:
1. Repeater Command Block (Always Active): /execute if entity @e[type=minecraft:allay,name="Sea Flame Allay",nbt={HandItems:[{id:"minecraft:fire_coral"}]}]
---------------------------------------------
Redstone Comparator
---------------------------------------------
2. Repeater Command Block: /execute at @p run execute at @e[type=minecraft:allay,name="Sea Flame Allay",distance=0..10] run effect give @p minecraft:fire_resistance 1 1 true
3. Repeater Command Block: /execute at @p run execute at @e[type=minecraft:allay,name="Sea Flame Allay",distance=0..10] run effect give @p minecraft:water_breathing 1 1 true
4. Repeater Command Block: /effect give @e[name="Sea Flame Allay"] minecraft:fire_resistance 1 1 true
5. Repeater Command Block: /effect give @e[name="Sea Flame Allay"] minecraft:water_breathing 1 1 true
To activate the Balloon Allay:
1. Repeater Command Block (Always Active): /execute if entity @e[type=minecraft:allay,name="Balloon Allay",nbt={HandItems:[{id:"minecraft:feather"}]}]]
---------------------------------------------
Redstone Comparator
---------------------------------------------
2. Repeater Command Block: /execute at @p run execute at @e[type=minecraft:allay,name="Balloon Allay",distance=0..10] run effect give @p minecraft:slow_falling 1 2 true
Music:
1. Gaming Sound FX:
* Monkeys Spinning Monkeys (Kevin MacLeod) - Gaming Background Music (HD):
https://www.youtube.com/watch?v=pr42a...
Other Videos By RedstoneKnightX
Other Statistics
Minecraft Statistics For RedstoneKnightX
RedstoneKnightX presently has 1,527,317 views for Minecraft across 384 videos, with His channel uploaded over 2 days worth of Minecraft videos. This is 85.45% of the total watchable video on RedstoneKnightX's YouTube channel.