Chairs¶
The Chairs mechanic allows players to sit on blocks, such as stairs.
Construction¶
A chair is any block that is listed in the configuration, usually stair blocks. There must be a block underneath the chair block and a space above it for it to count.
Sign Requirement¶
It is possible to require signs to be attached to the chairs in the config. When this is enabled, a sign block must be attached to the chair in some regard. If this is a chair made up of multiple blocks, only a single sign is required on the whole structure.
Note
For performance reasons, a max-sign-distance configuration limit is in place to prevent players from creating lag with giant chairs.
Usage¶
Right click a block that is defined as a chair to sit on it. A message will be shown if there is no block beneath the chair, and the player will not be allowed to sit.
Healing¶
If enabled in the config, it is possible to have chairs slowly heal the player at a configurable rate. The player’s exhaustion level can also lowered.
Configuration¶
Node |
Comment |
Default |
|---|---|---|
|
Allow players to sit in chairs when holding blocks. |
false |
|
Allow players to sit in chairs while sneaking. |
false |
|
Regenerate health passively when seated. |
true |
|
Lower the player’s exhaustion level when seated. |
true |
|
The amount of health regenerated passively. (Can be decimal) |
1.0 |
|
A list of blocks that can be sat on. |
[minecraft:acacia_stairs, minecraft:andesite_stairs, minecraft:bamboo_mosaic_stairs, minecraft:bamboo_stairs, minecraft:birch_stairs, minecraft:blackstone_stairs, minecraft:brick_stairs, minecraft:cherry_stairs, minecraft:cobbled_deepslate_stairs, minecraft:cobblestone_stairs, minecraft:crimson_stairs, minecraft:cut_copper_stairs, minecraft:dark_oak_stairs, minecraft:dark_prismarine_stairs, minecraft:deepslate_brick_stairs, minecraft:deepslate_tile_stairs, minecraft:diorite_stairs, minecraft:end_stone_brick_stairs, minecraft:exposed_cut_copper_stairs, minecraft:granite_stairs, minecraft:jungle_stairs, minecraft:mangrove_stairs, minecraft:mossy_cobblestone_stairs, minecraft:mossy_stone_brick_stairs, minecraft:mud_brick_stairs, minecraft:nether_brick_stairs, minecraft:oak_stairs, minecraft:oxidized_cut_copper_stairs, minecraft:pale_oak_stairs, minecraft:polished_andesite_stairs, minecraft:polished_blackstone_brick_stairs, minecraft:polished_blackstone_stairs, minecraft:polished_deepslate_stairs, minecraft:polished_diorite_stairs, minecraft:polished_granite_stairs, minecraft:polished_tuff_stairs, minecraft:prismarine_brick_stairs, minecraft:prismarine_stairs, minecraft:purpur_stairs, minecraft:quartz_stairs, minecraft:red_nether_brick_stairs, minecraft:red_sandstone_stairs, minecraft:resin_brick_stairs, minecraft:sandstone_stairs, minecraft:smooth_quartz_stairs, minecraft:smooth_red_sandstone_stairs, minecraft:smooth_sandstone_stairs, minecraft:spruce_stairs, minecraft:stone_brick_stairs, minecraft:stone_stairs, minecraft:tuff_brick_stairs, minecraft:tuff_stairs, minecraft:warped_stairs, minecraft:waxed_cut_copper_stairs, minecraft:waxed_exposed_cut_copper_stairs, minecraft:waxed_oxidized_cut_copper_stairs, minecraft:waxed_weathered_cut_copper_stairs, minecraft:weathered_cut_copper_stairs] |
|
When the player sits, automatically face them the direction of the chair. (If possible) |
true |
|
Require a sign to be attached to the chair in order to work! |
false |
|
The maximum distance between the click point and the sign. (When require sign is on) |
3 |
|
The maximum distance the player can be from the sign. |
5 |
|
Teleport players to their last position when they exit the chair. |
false |
Permissions¶
Node |
Description |
|---|---|
craftbook.chairs.use |
Allows the user to sit in chairs. |