generated from AttODao/fabric-example-mod
Page:
Server Config
Pages
Awkwardness
Body Attributes and Reach
Built in Instinct Values
Built in Movement Values
Built in Survival Values
Built in Vision Values
Client Config
Combat and Relations
Commands
Configuration Authority
Crafting and Interactions
Datapack Example
Datapack Overview
Datapack Reload and Merge
Equipment and Chests
Food and Exhaustion
Home
Initial Spawn
Instinct Behavior
Instinct Mode
Inventory
Item Tags
Jump Fall and Water
Morph JSON Combat and Attributes
Morph JSON Diet
Morph JSON Extras
Morph JSON Instinct Core
Morph JSON Instinct Hunting and Feeding
Morph JSON Inventory and Sleep
Morph JSON Movement
Morph JSON Vision
Movement and Turning
Persistence and Limits
Rendering Sounds and Vision
Server Config
Sleep and Abilities
Supported Forms
Synchronization and Reload
Variants and NBT
World Morph Lifecycle
No results
1
Server Config
AttODao edited this page 2026-08-13 18:37:39 +09:00
サーバーConfig
config/mob_life-server.jsonはゲームプレイ規則を決めるサーバー権限の設定です。専用サーバーとシングルプレイの内蔵サーバーで同じ形式を使います。
既定ファイル
{
"gameplay": {
"morph_enabled": true,
"player_morph_enabled": true
},
"inventory": {
"hotbar_limit_enabled": true,
"inventory_slot_limit_enabled": true,
"offhand_limit_enabled": true
},
"movement": {
"mining_speed_change_enabled": true,
"reach_change_enabled": true
}
}
gameplay
| キー | true |
false |
|---|---|---|
morph_enabled |
Mob形態を選択可能 | 新規選択肢をplayerだけにする |
player_morph_enabled |
player形態も選択可能 |
Mob形態有効時にplayerを選択肢から除外 |
morph_enabled: falseではplayer_morph_enabledに関係なくplayerが利用できます。morph_enabled: trueかつplayer_morph_enabled: falseの場合、未選択ワールドの既定候補は列挙順で最初のMobであるcowです。
これらは既に保存されたワールド形態を強制変更しません。たとえば牛で保存済みのワールドに対してmorph_enabledをfalseにしても、次回起動時に自動でプレイヤーへ戻しません。
inventory
| キー | true |
false |
|---|---|---|
hotbar_limit_enabled |
形態のhotbar_slotsを適用 |
9枠を使用 |
inventory_slot_limit_enabled |
形態のinventory_slotsを適用 |
通常所持欄27枠を使用 |
offhand_limit_enabled |
Mob形態でもオフハンドを使用可能 | オフハンドを非アクティブ化し、内容を所持欄へ戻す |
offhand_limit_enabledは名前に反して、trueがオフハンド有効、falseが無効です。他の2つのような「制限を解除する」向きではないため注意してください。
movement
| キー | true |
false |
|---|---|---|
mining_speed_change_enabled |
形態のattributes.mining_speedと体格補正を適用 |
形態の採掘速度Modifierを外す |
reach_change_enabled |
体高と2種のreach scaleを適用 | 形態のリーチModifierを外す |
読込と失敗時
ファイルはMod初期化時に1回読みます。編集後の/reloadでは再読込しないため、反映にはサーバー再起動が必要です。ファイルがなければ既定値で作成し、構文エラーやルート形式不正なら全項目を既定値として動作します。個別キーの欠落・型不正はそのキーだけ既定値trueへ戻ります。
接続クライアントには7項目をサーバーから送信します。クライアントが送信値を書き戻す経路はありません。
Mob Life Wiki
第1章 基本仕様
第2章 ゲームプレイ仕様
第3章 データパック
- 概要
- movement
- diet
- vision
- combat / attributes
- inventory / sleep
- instinct 基本
- instinct 狩猟・採食
- outline / abilities / traits
- 食性タグ
- 最小例
- マージと再読込
第4章 Configと同期
第5章 資料