Command Block Tutorial #181: Special Honey Power Commands in Minecraft (1.19+)
In this video I will show how to make a special item that allows you to get some potion effects from every honey bottle you drink in Minecraft.
Commands:
---------------------------------------------------------------------------------------
Make sure the redstone is the same as in the video.
---------------------------------------------------------------------------------------
* To craft the Sweet Honeycomb:
1. Repeater Command Block (Always Active): /execute at @p run execute if entity @e[type=item,nbt={Item:{id:"minecraft:honey_bottle"}},distance=0..3,nbt={OnGround:1b}]
2. Repeater Command Block (Always Active): /execute at @p run execute if entity @e[type=item,nbt={Item:{id:"minecraft:sugar"}},distance=0..3,nbt={OnGround:1b}]
3. Repeater Command Block (Always Active): /execute at @p run execute if entity @e[type=item,nbt={Item:{id:"minecraft:glow_ink_sac"}},distance=0..3,nbt={OnGround:1b}]
4. Impulse Command Block: /execute at @p run execute as @e[type=item,nbt={Item:{id:"minecraft:honey_bottle"}},nbt={OnGround:1b},limit=1] at @s if entity @s run summon minecraft:item ~ ~ ~ {Item:{id:"minecraft:honeycomb",Count:1b,tag:{Enchantments:[{id:"minecraft:infinity",lvl:1}]}}}
5. Repeater Command Block: /execute at @p run execute as @e[type=item,nbt={Item:{id:"minecraft:honeycomb",Count:1b,tag:{Enchantments:[{id:"minecraft:infinity",lvl:1}]}}}] run data merge entity @s {Item:{tag:{display:{Name:'{"text":"Sweet Honeycomb"}'}}}}
6. Impulse Command Block: /kill @e[type=item,nbt={Item:{id:"minecraft:honey_bottle"}},nbt={OnGround:1b}]
7. Impulse Command Block: /kill @e[type=item,nbt={Item:{id:"minecraft:sugar"}},nbt={OnGround:1b}]
8. Impulse Command Block: /kill @e[type=item,nbt={Item:{id:"minecraft:diamond"}},nbt={OnGround:1b}]
* Scoreboard Commands:
- To Add: /scoreboard objectives add Honey_Drink minecraft.used:minecraft.honey_bottle
- To Remove: /scoreboard objectives remove Honey_Drink
* To activate the Sweet Honeycomb:
1. Repeater Command Block (Always Active): /execute if entity @p[nbt={Inventory:[{id:"minecraft:honeycomb",tag:{display:{Name:'{"text":"Sweet Honeycomb"}'}}}]}] run execute as @r at @s if entity @s[scores={Honey_Drink=1..}] run scoreboard players set @e[scores={Honey_Drink=1..}] Honey_Drink 0
2. Chain Command Block: /effect give @p minecraft:speed 60 2 true
3. Chain Command Block: /effect give @p minecraft:haste 60 2 true
4. Chain Command Block: /effect give @p minecraft:regeneration 60 1 true
5. Chain Command Block (Unconditional): /scoreboard players reset @a Honey_Drink
Music:
1. Gaming Sound FX:
* Monkeys Spinning Monkeys (Kevin MacLeod) - Gaming Background Music (HD):
https://www.youtube.com/watch?v=pr42azVZi3o
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.