-
Notifications
You must be signed in to change notification settings - Fork 2
Configuration introduction
配置文件目录位于 ./minecraft/config/battleroyale
模组会尝试读取每个配置目录下所有 .json 文件 一般配置文件都具有:
- id:配置唯一id,遇到重复id则覆盖,不小于0
- default:当配置文件里任意单个配置设置为true,则默认选用该文件/配置(该项可选,默认为 false )
- name:给配置起名,可重复
- color:用途不同的颜色,可使用 #RRGGBB 或 #RRGGBBAA
一个配置文件内可包含多个配置,用方括号包围,内部每个花括号为一项配置
位于 ./minecraft/config/battleroyale/loot 下的子文件夹: 0. loot_spawner:物资刷新器配置文件
- entity_spawner:实体生成器配置文件
- airdrop:补给箱配置文件
- airdrop_special:特殊补给箱配置文件
- secret_room:暂未使用
以上刷新配置均使用通用刷新配置
位于 ./minecraft/config/battleroyale/game 下的子文件夹:
位于 ./minecraft/config/battleroyale/effect 下的子文件夹:
- particle:粒子配置
位于 ./minecraft/config/battleroyale/client 下的子文件夹:
位于 ./minecraft/config/battleroyale/server 下的子文件夹:
Configuration directory located in ./minecraft/config/battleroyale
The mod will attempt to read every .json file in each config directory Generally, the configuration will has:
- id: a unique id, overwrite if duplicate, not less than 0
- default: When any single configuration in the file is set to true, the file/config is selected by default (optional, defaults to false )
- name: name the config, can be repeated
- color: color for different purposes, use #RRGGBB or #RRBBGGAA
A config file can contain multiple configs, surrounded by square brackets, each curly brace inside is a single config
Located in subfolders under ./minecraft/config/battleroyale/loot 0. loot_spawner: for battleroyale:loot_spawner
- entity_spawner: for battleroyale:entity_spawner
- airdrop
- airdrop_special
- secret_room: currently has no idea
All of them use the General loot
Located in subfolders under ./minecraft/config/battleroyale/game
Located in subfolders under ./minecraft/config/battleroyale/effect
Located in subfolders under ./minecraft/config/battleroyale/client
Located in subfolders under ./minecraft/config/battleroyale/server
🌐 Language / 语言
-
- Configuration Introduction
- Command Introcuction
- Game type introduction
- About
- Mod development tutorial