Name | Default value | Allowed values | Description |
---|---|---|---|
facing | north | east north south west | The direction the head of the bed is pointing. The same direction the player faces when placing the bed. |
occupied | false | false true | True when a player or villager is using the bed. |
part | foot | foot head | The half of the bed in the current block. |
Name | Metadata Bits | Default value | Allowed values | Values for Metadata Bits |
Description |
---|---|---|---|---|---|
direction | 0x1 0x2 | 0 | 0 1 2 3 | 0 1 2 3 | The direction the head of the bed is pointing.
|
head_piece_bit | 0x8 | true | false true | 0 1 | If the current block is the head part. |
occupied_bit | 0x4 | false | false true | 0 1 | True when a player or villager is using the bed. |