MineToolsminetools.cn · Minecraft Java Tools

Yellow Bed command

minecraft:yellow_bedEnglish name Yellow Bed

Yellow Bed (minecraft:yellow_bed) can't be stacked; only 1 can go in a slot.Here are common commands for giving, placing, clearing, and checking. Click "Copy" to use one.

Common Commands

Give the nearest player 1 Yellow Bed
/give @p minecraft:yellow_bed
Give all players
/give @a minecraft:yellow_bed
Gold Name
/give @p yellow_bed[custom_name={translate:"block.minecraft.yellow_bed",color:"gold",italic:false}]

To use a name of your own, replace the translate part with plain text

Place one at your feet
/setblock ~ ~ ~ minecraft:yellow_bed
Fill a 5×5 Area
/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:yellow_bed

Replaces the block layer beneath you

Clear all Yellow Bed from the player
/clear @p minecraft:yellow_bed
Check if holding Yellow Bed
/execute as @a if items entity @s weapon.mainhand minecraft:yellow_bed run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"block.minecraft.yellow_bed"}]
Edit in the Item Generator (name, enchantments, attributes, ...)

Basic Information

Item ID
minecraft:yellow_bed
Max Stack Size
1
Type
Block (placeable)

Similar Items

Items Made of the Same Material

Data from the official Minecraft Java 26.3 data. All commands have passed the 26.3 syntax check.