Bed with ID = 27.

interface BedBlockEntity {
    color: number;
    id: "Bed";
    isMovable: boolean;
    x: number;
    y: number;
    z: number;
}

Hierarchy (view full)

Properties

Properties

color: number

Index of bed color, where 0 is white; block palettes are same.

0
id

Typed identifier, such as "Chest", "Beacon", etc.

isMovable: boolean

Block Entity will be saved without instantiating new one when transporting (via pistons, commands, etc.).

x: number
y: number
z: number

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.