Block_Bed: {
    type: "compound";
    value: { color: { type: "byte"; value: number } };
}

Additional fields for bed.

Type declaration

  • type: "compound"
  • value: { color: { type: "byte"; value: number } }
    • color: { type: "byte"; value: number }

      The data value that determines the color of the half-bed block. When a bed is broken, the color of the block entity at the bed's head becomes the color of the bed item when it drops. See Bed#Metadata.