/
一个NeoForge模组,控制Minecraft技术选项
A NeoForge mod that controls Minecraft technology options
本模组仅支持 Minecraft 1.21+ ,暂无向更低版本兼容的计划。
This mod only supports Minecraft 1.21+ and has no plans to be compatible with lower versions at the moment.
本模组代码基于 LGPL-3.0 协议开源,其它资产基于 CC-BY-NC-ND 4.0 发布,请遵守协议。
This module code is open source based on the LGPL-3.0 protocol, while other assets are released based on the CC-BY-NC-ND 4.0 protocol. Please comply with the protocol.
.minecraft/mods 或 .minecraft/versions/{version}/mods 文件夹/rg 命令显示模组控制面板以调整规则的启用状态configs/rolling-gate.json 中修改默认配置,该配置将影响所有存档rolling-gate.json 文件以覆盖默认配置{
// string
"rule1": "value",
// int
"rule2": 1,
// double
"rule3": 1.0,
// boolean
"rule4": true
}
/rg - 显示模组控制面板
reload - 重新加载配置文件category [category] - 查看分组下的所有规则[rule] [value] - 设置规则的值[rule] - 查看规则详细介绍default [rule] [value] - 设置当前存档的规则默认值/rg - Display mod control panel
reload - Reload configuration filecategory [category] - View all rules under the group[rule] [value] - Set the value of the rule[rule] - View detailed information of rulesdefault [rule] [value] - Set default rules for the current save| 规则 | 类型 | 默认值 | 允许值 | 描述 |
|---|---|---|---|---|
language | String | zh_cn | en_us, zh_cn | 设置卷帘门的默认语言 |
| Rule | Type | Default Value | Allowed Value | Description |
|---|---|---|---|---|
language | String | zh_cn | en_us, zh_cn | Set the default language for RollingGate |
@RGServerRules(value = "your_mod_id", languages = {"zh_cn", "en_us"})
public class YourModServerRules {
@Rule(allowed = {"your_rule_value1", "your_rule_value2"}, categories = "your_rule_category")
public static String yourRule = "your_rule_value1";
}

A NeoForge mod that controls Minecraft technology options