介绍
中文介绍正在准备中,下面暂时显示原文。
🛏️ The Right to Rest
Sleep should make sense.
The Right to Rest adds configurable restrictions to beds and sleeping bags so players must actually prepare a proper resting space before skipping the night.
No more sleeping under open sky.
No more magical sleeping bag naps in the middle of nowhere.
If you want rest — earn it.
🔧 Features
- Separate rules for beds and sleeping bags
- Require a roof above your sleep location
- Require custom block groups nearby (campfires, crafting tables, etc.)
- Supports:
- OR logic within groups (
campfire|soul_campfire) - Require ALL groups or just ANY 1 group
- OR logic within groups (
- Optional lit-campfire enforcement
- Fully configurable search radius
- Dynamic keyword detection for modded beds & sleeping bags
- Works even if sleep is triggered by other mods
⚙️ Configuration Highlights
- 0 = none
- 1 = roof
- 2 = blocks
- 3 = both
Fine-tune:
- Roof distance limits
- Required block groups
- Bed & sleeping bag detection keywords
- Lit campfire enforcement
Config File:["restriction toggles"]#Controls which requirements beds have applied#0=none, 1=roof, 2=blocks, 3=both#Default: 1#Range: 0 ~ 3bed_requirement_mode = 1#Controls which requirements sleeping bags have applied#0=none, 1=roof, 2=blocks, 3=both#Default: 2#Range: 0 ~ 3sleeping_bag_requirement_mode = 2#List of blocks that count as "beds" for this mod#Format: "modid:block_name"#NOTE: Most items should already be handled automatically through the id keywordsbed_blocks = []#List of blocks that count as "sleeping bags" for this mod#NOTE: Most modded items should already be handled automatically through the id keywords#Format: "modid:block_name"sleeping_bag_blocks = ["comforts:sleeping_bag"]#If true, blocks will also be detected dynamically by keyword matching in their ID#Example: a block with "bed" in its ID will count as a bed#Default: trueenable_keyword_detection = true#Keywords used to dynamically detect beds#Warning: keyword matching is simple substring matching; choose keywords carefully#Format: simple strings matched against the block ID path#Default: ["_bed"]bed_id_keywords = ["_bed"]#Keywords used to dynamically detect sleeping bags#Warning: keyword matching is simple substring matching; choose keywords carefully#Format: simple strings matched against the block ID path#Default: ["_sleeping_bag"]sleeping_bag_id_keywords = ["_sleeping_bag"]#These settings only matter if a block type has "roof" or "both" enabled above.#If not, this entire section can be ignored.["required roof options"]#If true, any block anywhere above the sleep target block (up to world height) counts as a roof#If false, max_roof_distance will be used instead#Default: falseignore_roof_distance = false#Maximum number of blocks above the block where a roof can exist and still count#Only used if ignore_roof_distance is false#Default: 10#Range: 2 ~ 50#Range: 2 ~ 50max_roof_distance = 10#These settings only matter if beds are set to "blocks" or "both".#If not, this entire section can be ignored.["bed required blocks options"]#Radius (in blocks) to search for required blocks for beds#Default: 10#Range: 1 ~ 30#Range: 1 ~ 30bed_required_block_search_radius = 10#If true, you must satisfy ALL required block groups below#If false, satisfying ANY one group is enough#Default: truebed_require_all_groups = true#Required block groups for beds.#Each string is one group (OR list). If bed_require_all_groups is true, every group must be satisfied.#Format: ["id1|id2|id3", "id4|id5"]#Example: ["minecraft:campfire|minecraft:soul_campfire", "minecraft:crafting_table"]bed_required_block_groups = ["minecraft:campfire|minecraft:soul_campfire"]#If true, campfires used in required block groups must be lit#Default: truerequire_lit_campfire_for_beds = true#These settings only matter if sleeping bags are set to "blocks" or "both".#If not, this entire section can be ignored.["sleeping bag required blocks options"]#Radius (in blocks) to search for required blocks for sleeping bags#Default: 5#Range: 1 ~ 30#Range: 1 ~ 30sleeping_bag_required_block_search_radius = 3#If true, you must satisfy ALL required block groups below#If false, satisfying ANY one group is enough#Default: truesleeping_bag_require_all_groups = true#Required block groups for sleeping bags.#Each string is one group (OR list). If sleeping_bag_require_all_groups is true, every group must be satisfied.#Format: ["id1|id2|id3", "id4|id5"]#Example: ["minecraft:campfire|minecraft:soul_campfire"]sleeping_bag_required_block_groups = ["minecraft:campfire|minecraft:soul_campfire"]#If true, campfires used in required block groups must be lit#Default: truerequire_lit_campfire_for_sleeping_bags = true
Make survival feel intentional.
Because rest isn’t free.
常见问题
The Right to Rest 支持哪些 Minecraft 版本?
The Right to Rest 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
The Right to Rest 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Yoda_Legion 的其他作品
查看全部 →Draconic Codex (Quark Ancient Tome Expansion)
by Yoda_Legion
新增“典籍”,可将 Quark 的远古魔典附魔等级提升至最高 +2。
71.4万
7 个月前
CurseForge
Ice and Fire: Dragonsteel
by Yoda_Legion
为冰与火之歌添加下界合金升级为龙钢的锻造升级,使其更现代化
12.8万
7 个月前
CurseForge
Unstable Nether Portals
by Yoda_Legion
下界传送门使用后会崩塌,把玩家困在目的地维度
4.9万
8 个月前
CurseForge
Overgeared Spartan
by Yoda_Legion
添加模块化武器部件和锻造配方,让 Overgeared 与 Spartan Weaponry 联动。
4.2万
5 个月前
CurseForge
评论
登录后评论和评分