MineToolsminetools.cn · Minecraft Java Tools

Green Bed command

minecraft:green_bedEnglish name Green Bed

Green Bed (minecraft:green_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 Green Bed
/give @p minecraft:green_bed
Give all players
/give @a minecraft:green_bed
Gold Name
/give @p green_bed[custom_name={translate:"block.minecraft.green_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:green_bed
Fill a 5×5 Area
/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:green_bed

Replaces the block layer beneath you

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

Basic Information

Item ID
minecraft:green_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.