Command Block Tutorial #138: Potion Food Commands in Minecraft (1.18+)
In this video I will show how to give yourself some potion (some good and bad) after eating certain types of normal Minecraft food.
Commands:
Example (Bread):
* Bread Scoreboard Command:
To Add: /scoreboard objectives add Bread_eaten minecraft.used:minecraft.bread
To Remove: /scoreboard objectives remove Bread_eaten
1. Repeater Command Block: /execute as @r at @s if entity @s[scores={Bread_eaten=1..}] run scoreboard players set @e[scores={Bread_eaten=1..}] Bread_eaten 0
2. Chain Command Block: /effect give RedstoneKnightX minecraft:strength 30 1 true
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.