Рет қаралды 770
Today with the power of Minecraft command blocks, we are adding pillows to help you sleep better and avoid neck pain... You can now flex on your friends and show off your cool pillow on your bed lol!
Please Subscribe for more weird command block stuff!
The command:
repeat: execute as @e[type=item,nbt={Item:{id:"minecraft:white_wool"}}] at @s unless entity @e[tag=pillow,distance=..0.75] if block ~ ~-0.1 ~ #minecraft:beds[part=head,facing=south] run execute align xyz run summon block_display ~.125 ~.56250 ~.5625 {Tags:["pillow"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.75f,.125f,0.375f]},block_state:{Name:"minecraft:white_wool"}}
conditional: execute at @e[tag=pillow] run kill @e[type=item,nbt={Item:{id:"minecraft:white_wool"}},distance=..1,sort=nearest,limit=1]
repeat: execute as @e[type=item,nbt={Item:{id:"minecraft:white_wool"}}] at @s unless entity @e[tag=pillow,distance=..0.75] if block ~ ~-0.1 ~ #minecraft:beds[part=head,facing=north] run execute align xyz run summon block_display ~.125 ~.56250 ~.0625 {Tags:["pillow"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.75f,.125f,0.375f]},block_state:{Name:"minecraft:white_wool"}}
conditional: same as above conditional
repeat: execute as @e[type=item,nbt={Item:{id:"minecraft:white_wool"}}] at @s unless entity @e[tag=pillow,distance=..0.75] if block ~ ~-0.1 ~ #minecraft:beds[part=head,facing=east] run execute align xyz run summon block_display ~.5625 ~.56250 ~.125 {Tags:["pillow"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.375f,.125f,0.75f]},block_state:{Name:"minecraft:white_wool"}}
conditional: same as above conditional
repeat: execute as @e[type=item,nbt={Item:{id:"minecraft:white_wool"}}] at @s unless entity @e[tag=pillow,distance=..0.75] if block ~ ~-0.1 ~ #minecraft:beds[part=head,facing=west] run execute align xyz run summon block_display ~.0625 ~.56250 ~.125 {Tags:["pillow"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.375f,.125f,0.75f]},block_state:{Name:"minecraft:white_wool"}}
conditional: same as above conditional
Become A Member - / @vivtorsing
My Discord - / discord
Thanks for watching