straw_bed command
minecraft:straw_bed
straw_bed (minecraft:straw_bed) can be stacked up to 16.Here are common commands for giving, placing, clearing, and checking. Click "Copy" to use one.
Common Commands
Give the nearest player 1 straw_bed
/give @p minecraft:straw_bed
Give a stack (16)
/give @p minecraft:straw_bed 16
Give all players
/give @a minecraft:straw_bed
Gold Name
/give @p straw_bed[custom_name={translate:"block.minecraft.straw_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:straw_bed
Fill a 5×5 Area
/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:straw_bed
Replaces the block layer beneath you
Clear all straw_bed from the player
/clear @p minecraft:straw_bed
Check if holding straw_bed
/execute as @a if items entity @s weapon.mainhand minecraft:straw_bed run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"block.minecraft.straw_bed"}]Basic Information
- Item ID
- minecraft:straw_bed
- Max Stack Size
- 16
- Type
- Block (placeable)
Similar Items
Data from the official Minecraft Java 26.3 data. All commands have passed the 26.3 syntax check.