Command Block Tutorial #163: Potion Bed Commands in Minecraft (1.19+)
In this video I will show how to give yourself some potion effects after sleeping in certain color beds, whether to make it the next day or for a quick minute.
Previous potion video: https://youtu.be/XaKid0HTHUs
Commands:
* Scoreboard Command (for all beds):
To Add: /scoreboard objectives add Potion_Bed minecraft.custom:minecraft.sleep_in_bed
To Remove: /scoreboard objectives remove Potion_Bed
Example (White Bed):
1. Repeater Command Block: /execute as @r at @s if block ~ ~ ~ minecraft:white_bed run execute as @r at @s if entity @s[scores={Potion_Bed=1..}] run scoreboard players set @e[scores={Potion_Bed=1..}] Potion_Bed 0
2. Chain Command Block: /effect give @p minecraft:health_boost 300 4 true
3. Chain Command Block: /effect give @p minecraft:instant_health 1 9 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.