Elementium Sign in

Bed color

Gives the bed's color, one of the dye color values. Wire the block's location into Block.

Try it on your server

A Minecraft element (a value) in World & blocks. Needs the Basic plan or higher to go live; building and testing are free.

Example

When a player right-clicks → Answer color: {node.v.value} → Done

Also called

bed, color, block, tile entity, block entity

Works as a data pack?

Yes. A vanilla data pack does this exactly as the plugin does.

What you give it

What it gives back

Related

All Minecraft elements