MineToolsminetools.cn · Minecraft Java Tools

Purple Bed command

minecraft:purple_bedEnglish name Purple Bed

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

Replaces the block layer beneath you

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

Basic Information

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